Enable ruff setting ignore-init-module-imports
This commit is contained in:
parent
25c6bbd38c
commit
2a1cc6bb55
@ -140,6 +140,7 @@ extend-fixable = [
|
|||||||
"F401", # unused import
|
"F401", # unused import
|
||||||
"B905" , # bugbear
|
"B905" , # bugbear
|
||||||
]
|
]
|
||||||
|
ignore-init-module-imports = true # without this, "unused" imports in __init__ will be auto-removed, breaking imports
|
||||||
|
|
||||||
target-version = "py311"
|
target-version = "py311"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user