From e5525cc59dfd30cb6daf32048758b90dad096dd0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 6 Oct 2024 09:55:10 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pylint/checkers/variables.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py index 6b561332c4..2ef3c739f4 100644 --- a/pylint/checkers/variables.py +++ b/pylint/checkers/variables.py @@ -1992,7 +1992,8 @@ def _filter_type_checking_definitions_from_consumption( is_reported: bool, ) -> list[nodes.NodeNG]: """Filters out type-checking definition nodes (e.g., imports or class - definitions) from the nodes to be consumed, as these may trigger a + definitions) from the nodes to be consumed, as these may trigger a. + used-before-assignment check in a separate context. If a used-before-assignment error is reported for the usage of a