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
Ville Skyttä 2022-07-05 00:04:56 +03:00 committed by GitHub
parent a7da8673bf
commit dd6725b80a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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"

View File

@ -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