File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
gazelle/python/testdata/relative_imports_package_mode/package1/subpackage1/subpackage2 Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,11 @@ repos:
30
30
- id : buildifier-lint
31
31
args : *args
32
32
- repo : https://github.com/pycqa/isort
33
- rev : 5.12.0
33
+ rev : 6.0.1
34
34
hooks :
35
35
- id : isort
36
36
name : isort (python)
37
- args :
38
- - --profile
39
- - black
37
+ args : ["--profile", "black", "--filter-files"]
40
38
- repo : https://github.com/psf/black
41
39
rev : 25.1.0
42
40
hooks :
Original file line number Diff line number Diff line change 1
- from ...my_library import (
1
+ from ...my_library import ( # Import path should be package1.my_library.some_function
2
2
some_function ,
3
- ) # Import path should be package1.my_library.some_function
3
+ )
4
4
from ...my_library .foo import ( # Import path should be package1.my_library.foo.some_function
5
5
some_function ,
6
6
)
You can’t perform that action at this time.
0 commit comments