Skip to content

Commit

Permalink
Prefer the standard format for imports, even though it's unnecessaril…
Browse files Browse the repository at this point in the history
…y repetitive.
  • Loading branch information
jaraco committed Dec 27, 2024
1 parent 4e6e8fc commit fc15d45
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
18 changes: 18 additions & 0 deletions distutils/tests/compat/py39.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,38 @@
if sys.version_info >= (3, 10):
from test.support.import_helper import (
CleanImport as CleanImport,
)
from test.support.import_helper import (
DirsOnSysPath as DirsOnSysPath,
)
from test.support.os_helper import (
EnvironmentVarGuard as EnvironmentVarGuard,
)
from test.support.os_helper import (
rmtree as rmtree,
)
from test.support.os_helper import (
skip_unless_symlink as skip_unless_symlink,
)
from test.support.os_helper import (
unlink as unlink,
)
else:
from test.support import (
CleanImport as CleanImport,
)
from test.support import (
DirsOnSysPath as DirsOnSysPath,
)
from test.support import (
EnvironmentVarGuard as EnvironmentVarGuard,
)
from test.support import (
rmtree as rmtree,
)
from test.support import (
skip_unless_symlink as skip_unless_symlink,
)
from test.support import (
unlink as unlink,
)
4 changes: 0 additions & 4 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ ignore = [
"TRY400",
]

[lint.isort]
combine-as-imports = true
split-on-trailing-comma = false

[format]
# Enable preview to get hugged parenthesis unwrapping and other nice surprises
# See https://github.com/jaraco/skeleton/pull/133#issuecomment-2239538373
Expand Down

0 comments on commit fc15d45

Please sign in to comment.