mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Update pylint-per-file-ignores to 1.3.2 (#110014)
This commit is contained in:
parent
69af00b360
commit
1adbddb754
@ -383,6 +383,12 @@ enable = [
|
||||
#"useless-suppression", # temporarily every now and then to clean them up
|
||||
"use-symbolic-message-instead",
|
||||
]
|
||||
per-file-ignores = [
|
||||
# hass-component-root-import: Tests test non-public APIs
|
||||
# protected-access: Tests do often test internals a lot
|
||||
# redefined-outer-name: Tests reference fixtures in the test function
|
||||
"/tests/:hass-component-root-import,protected-access,redefined-outer-name",
|
||||
]
|
||||
|
||||
[tool.pylint.REPORTS]
|
||||
score = false
|
||||
@ -409,12 +415,6 @@ runtime-typing = false
|
||||
[tool.pylint.CODE_STYLE]
|
||||
max-line-length-suggestions = 72
|
||||
|
||||
[tool.pylint-per-file-ignores]
|
||||
# hass-component-root-import: Tests test non-public APIs
|
||||
# protected-access: Tests do often test internals a lot
|
||||
# redefined-outer-name: Tests reference fixtures in the test function
|
||||
"/tests/"="hass-component-root-import,protected-access,redefined-outer-name"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = [
|
||||
"tests",
|
||||
|
@ -15,7 +15,7 @@ mypy==1.8.0
|
||||
pre-commit==3.6.0
|
||||
pydantic==1.10.12
|
||||
pylint==3.0.3
|
||||
pylint-per-file-ignores==1.2.1
|
||||
pylint-per-file-ignores==1.3.2
|
||||
pipdeptree==2.13.2
|
||||
pytest-asyncio==0.23.4
|
||||
pytest-aiohttp==1.0.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user