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
commit 72ae414da4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 6 additions and 18 deletions

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",
]