From dd6725b80a5efebda36c64c78250f3374e85c3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> Date: Tue, 5 Jul 2022 00:04:56 +0300 Subject: [PATCH] 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> --- pyproject.toml | 4 +++- requirements_test.txt | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f50c835e58f..51f1d115e7f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/requirements_test.txt b/requirements_test.txt index 3172c1f5544..113794bda1c 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -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 -- GitLab