From e48cf6fad2d1ed35996dd82d51301023fe725af7 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 20 May 2024 09:59:22 +0200 Subject: [PATCH] Update pylint to 3.2.2 (#117770) --- pyproject.toml | 2 ++ requirements_test.txt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 207e4d657d3..cb8df2bb3c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -152,6 +152,7 @@ class-const-naming-style = "any" # too-many-ancestors - it's too strict. # wrong-import-order - isort guards this # consider-using-f-string - str.format sometimes more readable +# possibly-used-before-assignment - too many errors / not necessarily issues # --- # Pylint CodeStyle plugin # consider-using-namedtuple-or-dataclass - too opinionated @@ -176,6 +177,7 @@ disable = [ "consider-using-f-string", "consider-using-namedtuple-or-dataclass", "consider-using-assignment-expr", + "possibly-used-before-assignment", # Handled by ruff # Ref: diff --git a/requirements_test.txt b/requirements_test.txt index 610abffc733..65f4b80300c 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -7,14 +7,14 @@ -c homeassistant/package_constraints.txt -r requirements_test_pre_commit.txt -astroid==3.1.0 +astroid==3.2.2 coverage==7.5.0 freezegun==1.5.0 mock-open==1.4.0 mypy-dev==1.11.0a2 pre-commit==3.7.1 pydantic==1.10.15 -pylint==3.1.1 +pylint==3.2.2 pylint-per-file-ignores==1.3.2 pipdeptree==2.19.0 pytest-asyncio==0.23.6