Skip to content

Commit fc15d45

Browse files
committed
Prefer the standard format for imports, even though it's unnecessarily repetitive.
1 parent 4e6e8fc commit fc15d45

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

distutils/tests/compat/py39.py

+18
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,38 @@
33
if sys.version_info >= (3, 10):
44
from test.support.import_helper import (
55
CleanImport as CleanImport,
6+
)
7+
from test.support.import_helper import (
68
DirsOnSysPath as DirsOnSysPath,
79
)
810
from test.support.os_helper import (
911
EnvironmentVarGuard as EnvironmentVarGuard,
12+
)
13+
from test.support.os_helper import (
1014
rmtree as rmtree,
15+
)
16+
from test.support.os_helper import (
1117
skip_unless_symlink as skip_unless_symlink,
18+
)
19+
from test.support.os_helper import (
1220
unlink as unlink,
1321
)
1422
else:
1523
from test.support import (
1624
CleanImport as CleanImport,
25+
)
26+
from test.support import (
1727
DirsOnSysPath as DirsOnSysPath,
28+
)
29+
from test.support import (
1830
EnvironmentVarGuard as EnvironmentVarGuard,
31+
)
32+
from test.support import (
1933
rmtree as rmtree,
34+
)
35+
from test.support import (
2036
skip_unless_symlink as skip_unless_symlink,
37+
)
38+
from test.support import (
2139
unlink as unlink,
2240
)

ruff.toml

-4
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ ignore = [
4646
"TRY400",
4747
]
4848

49-
[lint.isort]
50-
combine-as-imports = true
51-
split-on-trailing-comma = false
52-
5349
[format]
5450
# Enable preview to get hugged parenthesis unwrapping and other nice surprises
5551
# See https://github.com/jaraco/skeleton/pull/133#issuecomment-2239538373

0 commit comments

Comments
 (0)