summaryrefslogtreecommitdiff
path: root/pylint/checkers/threading_checker.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-12-27 00:04:56 +0100
committerGitHub <noreply@github.com>2022-12-27 00:04:56 +0100
commitdbb12524d75b7bb79215e9c3b6c20d15e9a7a7d6 (patch)
tree2481d32fe51765b1bbd6f126e38493159a234b5b /pylint/checkers/threading_checker.py
parentcf5ea8a32bcdac0bd889f973272c59599b40af95 (diff)
downloadpylint-git-dbb12524d75b7bb79215e9c3b6c20d15e9a7a7d6.tar.gz
[pre-commit] Upgrade to black 23.1a1 with 2023's formatting (#7965)
Diffstat (limited to 'pylint/checkers/threading_checker.py')
-rw-r--r--pylint/checkers/threading_checker.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pylint/checkers/threading_checker.py b/pylint/checkers/threading_checker.py
index 308b6ca26..df0dfe7cf 100644
--- a/pylint/checkers/threading_checker.py
+++ b/pylint/checkers/threading_checker.py
@@ -44,7 +44,6 @@ class ThreadingChecker(BaseChecker):
@only_required_for_messages("useless-with-lock")
def visit_with(self, node: nodes.With) -> None:
-
context_managers = (c for c, _ in node.items if isinstance(c, nodes.Call))
for context_manager in context_managers:
if isinstance(context_manager, nodes.Call):