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:
3030 - id : buildifier-lint
3131 args : *args
3232 - repo : https://github.com/pycqa/isort
33- rev : 5.12.0
33+ rev : 6.0.1
3434 hooks :
3535 - id : isort
3636 name : isort (python)
37- args :
38- - --profile
39- - black
37+ args : ["--profile", "black", "--filter-files"]
4038 - repo : https://github.com/psf/black
4139 rev : 25.1.0
4240 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
22 some_function ,
3- ) # Import path should be package1.my_library.some_function
3+ )
44from ...my_library .foo import ( # Import path should be package1.my_library.foo.some_function
55 some_function ,
66)
You can’t perform that action at this time.
0 commit comments