mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Ignore use-implicit-booleaness-not-comparison pylint warnings in tests (#119876)
This commit is contained in:
parent
fa1e23e905
commit
0ff0022877
@ -402,9 +402,10 @@ enable = [
|
|||||||
"use-symbolic-message-instead",
|
"use-symbolic-message-instead",
|
||||||
]
|
]
|
||||||
per-file-ignores = [
|
per-file-ignores = [
|
||||||
# hass-component-root-import: Tests test non-public APIs
|
|
||||||
# redefined-outer-name: Tests reference fixtures in the test function
|
# redefined-outer-name: Tests reference fixtures in the test function
|
||||||
"/tests/:hass-component-root-import,redefined-outer-name",
|
# use-implicit-booleaness-not-comparison: Tests need to validate that a list
|
||||||
|
# or a dict is returned
|
||||||
|
"/tests/:redefined-outer-name,use-implicit-booleaness-not-comparison",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.pylint.REPORTS]
|
[tool.pylint.REPORTS]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user