summaryrefslogtreecommitdiff
path: root/pylint/checkers/stdlib.py
diff options
context:
space:
mode:
authorNick Drozd <nicholasdrozd@gmail.com>2023-01-28 13:35:46 -0500
committerGitHub <noreply@github.com>2023-01-28 19:35:46 +0100
commitaf555eddf6ecdb1993345dce728a6b4c38dd4a02 (patch)
treea0c05f8d37da73c4021c82b7c9e8ce5df5aad855 /pylint/checkers/stdlib.py
parentacb28d8fcefb06179d9e6528ba14dd099e12ecfa (diff)
downloadpylint-git-af555eddf6ecdb1993345dce728a6b4c38dd4a02.tar.gz
Tighten design constraints (#8115)
* Lower max locals * Lower max statements * Lower max try statements * Lower max branches * Lower max args * Cut design constraints with default values
Diffstat (limited to 'pylint/checkers/stdlib.py')
-rw-r--r--pylint/checkers/stdlib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/checkers/stdlib.py b/pylint/checkers/stdlib.py
index 88a61a119..c9bec3823 100644
--- a/pylint/checkers/stdlib.py
+++ b/pylint/checkers/stdlib.py
@@ -605,6 +605,7 @@ class StdlibChecker(DeprecatedMixin, BaseChecker):
lru_cache_nodes: list[nodes.NodeNG] = []
for d_node in node.decorators.nodes:
+ # pylint: disable = too-many-try-statements
try:
for infered_node in d_node.infer():
q_name = infered_node.qname()