mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +00:00
Replace pylint-strict-informational with fail-on=I
(#74311)
`fail-on` is available since pylint 2.9.0. https://pylint.pycqa.org/en/latest/user_guide/configuration/all-options.html#fail-on https://github.com/PyCQA/pylint/issues/3251#issuecomment-1170941337 Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
a7da8673bf
commit
dd6725b80a
@ -109,7 +109,6 @@ init-hook = """\
|
|||||||
load-plugins = [
|
load-plugins = [
|
||||||
"pylint.extensions.code_style",
|
"pylint.extensions.code_style",
|
||||||
"pylint.extensions.typing",
|
"pylint.extensions.typing",
|
||||||
"pylint_strict_informational",
|
|
||||||
"hass_constructor",
|
"hass_constructor",
|
||||||
"hass_enforce_type_hints",
|
"hass_enforce_type_hints",
|
||||||
"hass_imports",
|
"hass_imports",
|
||||||
@ -123,6 +122,9 @@ extension-pkg-allow-list = [
|
|||||||
"orjson",
|
"orjson",
|
||||||
"cv2",
|
"cv2",
|
||||||
]
|
]
|
||||||
|
fail-on = [
|
||||||
|
"I",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.pylint.BASIC]
|
[tool.pylint.BASIC]
|
||||||
class-const-naming-style = "any"
|
class-const-naming-style = "any"
|
||||||
|
@ -15,7 +15,6 @@ mypy==0.961
|
|||||||
pre-commit==2.19.0
|
pre-commit==2.19.0
|
||||||
pylint==2.14.4
|
pylint==2.14.4
|
||||||
pipdeptree==2.2.1
|
pipdeptree==2.2.1
|
||||||
pylint-strict-informational==0.1
|
|
||||||
pytest-aiohttp==0.3.0
|
pytest-aiohttp==0.3.0
|
||||||
pytest-cov==3.0.0
|
pytest-cov==3.0.0
|
||||||
pytest-freezegun==0.4.2
|
pytest-freezegun==0.4.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user