Remove the F401 ignore for __init__.py files
All re-exporting packages declare `__all__`; so, unused imports are reported there, too.
This commit is contained in:
parent
732a74be1c
commit
454c2898a0
1 changed files with 0 additions and 4 deletions
|
|
@ -351,8 +351,6 @@ extend-ignore = [
|
|||
]
|
||||
|
||||
per-file-ignores = [
|
||||
# Top-levels of a sub-packages are intended to import a lot.
|
||||
"**/__init__.py:F401",
|
||||
# Type annotations are not strictly enforced.
|
||||
"migrations/env.py:ANN0,ANN2",
|
||||
# - ANN0, ANN2 => Type annotations are not strictly enforced.
|
||||
|
|
@ -733,8 +731,6 @@ external = [
|
|||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
|
||||
# Top-levels of a sub-packages are intended to import a lot.
|
||||
"**/__init__.py" = ["F401"]
|
||||
# Type annotations are not strictly enforced.
|
||||
"migrations/env.py" = ["ANN0", "ANN2"]
|
||||
# - ANN0, ANN2 => Type annotations are not strictly enforced.
|
||||
|
|
|
|||
Loading…
Reference in a new issue