chore(lint): correct allowed-unused-imports settings for cleanup unused imports in tests (#11922)

This commit is contained in:
Bowen Liang
2024-12-28 01:19:31 +08:00
committed by GitHub
parent 4c9618be3f
commit 72ae414da4
12 changed files with 6 additions and 18 deletions
+2 -2
View File
@@ -85,11 +85,11 @@ ignore = [
]
"tests/*" = [
"F811", # redefined-while-unused
"F401", # unused-import
]
[lint.pyflakes]
extend-generics = [
allowed-unused-imports = [
"_pytest.monkeypatch",
"tests.integration_tests",
"tests.unit_tests",
]