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>pull/74441/head
parent
a7da8673bf
commit
dd6725b80a
|
@ -109,7 +109,6 @@ init-hook = """\
|
|||
load-plugins = [
|
||||
"pylint.extensions.code_style",
|
||||
"pylint.extensions.typing",
|
||||
"pylint_strict_informational",
|
||||
"hass_constructor",
|
||||
"hass_enforce_type_hints",
|
||||
"hass_imports",
|
||||
|
@ -123,6 +122,9 @@ extension-pkg-allow-list = [
|
|||
"orjson",
|
||||
"cv2",
|
||||
]
|
||||
fail-on = [
|
||||
"I",
|
||||
]
|
||||
|
||||
[tool.pylint.BASIC]
|
||||
class-const-naming-style = "any"
|
||||
|
|
|
@ -15,7 +15,6 @@ mypy==0.961
|
|||
pre-commit==2.19.0
|
||||
pylint==2.14.4
|
||||
pipdeptree==2.2.1
|
||||
pylint-strict-informational==0.1
|
||||
pytest-aiohttp==0.3.0
|
||||
pytest-cov==3.0.0
|
||||
pytest-freezegun==0.4.2
|
||||
|
|
Loading…
Reference in New Issue