chore: add linting rule for unused imports

ref: #770
This commit is contained in:
2025-05-21 00:50:36 +09:30
parent 15b4446775
commit 0884bc314a

View File

@ -65,8 +65,10 @@ ignore = [
"conftest.py",
"CVS",
"docs",
"forms", # Not required for API app
"migrations",
"tests",
"views", # Not required for API app
]
# Add files or directories matching the regular expressions patterns to the
@ -848,6 +850,7 @@ enable = [
"deprecated-attribute",
"deprecated-argument",
"import-self",
"unused-import",
]