File tree 2 files changed +77
-4
lines changed
tests/packages/importlib_editable/pkg
2 files changed +77
-4
lines changed Original file line number Diff line number Diff line change 1
- from . import emod_a , pmod_a , subpkg1 , subpkg2
1
+ # Don't let ruff sort imports in this file, we want to keep them with the comments as is
2
+ # for clarity.
3
+ # ruff: noqa: I001
2
4
3
- __all__ = ["emod_a" , "pmod_a" , "subpkg1" , "subpkg2" ]
5
+ # Level one pure modules
6
+ from . import pmod_a
7
+
8
+ # Level one extension modules
9
+ from . import emod_a
10
+
11
+ # Level one subpackages
12
+ from . import subpkg1 , subpkg2
13
+
14
+ # Level two pure modules
15
+ from .subpkg1 import pmod_b
16
+ from .subpkg2 import pmod_c
17
+
18
+ # Level two extension modules
19
+ from .subpkg1 import emod_b
20
+ from .subpkg2 import emod_c
21
+
22
+ # Level two subpackages
23
+ from .subpkg2 import subsubpkg1 , subsubpkg2
24
+
25
+ # Level three pure modules
26
+ from .subpkg2 .subsubpkg1 import pmod_d
27
+ from .subpkg2 .subsubpkg2 import pmod_e
28
+
29
+ # Level three extension modules
30
+ from .subpkg2 .subsubpkg1 import emod_d
31
+ from .subpkg2 .subsubpkg2 import emod_e
32
+
33
+ __all__ = [
34
+ "emod_a" ,
35
+ "emod_b" ,
36
+ "emod_c" ,
37
+ "emod_d" ,
38
+ "emod_e" ,
39
+ "pmod_a" ,
40
+ "pmod_b" ,
41
+ "pmod_c" ,
42
+ "pmod_d" ,
43
+ "pmod_e" ,
44
+ "subpkg1" ,
45
+ "subpkg2" ,
46
+ "subsubpkg1" ,
47
+ "subsubpkg2" ,
48
+ ]
Original file line number Diff line number Diff line change 1
- from . import emod_c , pmod_c , subsubpkg1 , subsubpkg2
1
+ # Don't let ruff sort imports in this file, we want to keep them with the comments as is
2
+ # for clarity.
3
+ # ruff: noqa: I001
2
4
3
- __all__ = ["emod_c" , "pmod_c" , "subsubpkg1" , "subsubpkg2" ]
5
+ # Level one pure modules
6
+ from . import pmod_c
7
+
8
+ # Level one extension modules
9
+ from . import emod_c
10
+
11
+ # Level one subpackages
12
+ from . import subsubpkg1 , subsubpkg2
13
+
14
+ # Level two pure modules
15
+ from .subsubpkg1 import pmod_d
16
+ from .subsubpkg2 import pmod_e
17
+
18
+ # Level two extension modules
19
+ from .subsubpkg1 import emod_d
20
+ from .subsubpkg2 import emod_e
21
+
22
+ __all__ = [
23
+ "emod_c" ,
24
+ "emod_d" ,
25
+ "emod_e" ,
26
+ "pmod_c" ,
27
+ "pmod_d" ,
28
+ "pmod_e" ,
29
+ "subsubpkg1" ,
30
+ "subsubpkg2" ,
31
+ ]
You can’t perform that action at this time.
0 commit comments