Skip to content

Commit

Permalink
Replace pylint-strict-informational with fail-on=I (home-assistant#…
Browse files Browse the repository at this point in the history
…74311)

`fail-on` is available since pylint 2.9.0.

https://pylint.pycqa.org/en/latest/user_guide/configuration/all-options.html#fail-on
pylint-dev/pylint#3251 (comment)

Co-authored-by: J. Nick Koston <nick@koston.org>
  • Loading branch information
scop and bdraco authored Jul 4, 2022
1 parent a7da867 commit dd6725b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -123,6 +122,9 @@ extension-pkg-allow-list = [
"orjson",
"cv2",
]
fail-on = [
"I",
]

[tool.pylint.BASIC]
class-const-naming-style = "any"
Expand Down
1 change: 0 additions & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd6725b

Please sign in to comment.