chore(lint): correct allowed-unused-imports settings for cleanup unused imports in tests (#11922)
This commit is contained in:
parent
4c9618be3f
commit
72ae414da4
12 changed files with 6 additions and 18 deletions
|
|
@ -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",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue