summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2019-05-23 09:41:10 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2019-05-23 09:41:10 +0200
commita9cb1c740a9f3d570bc90b42d1d3015aee95712c (patch)
tree2fc0f65e420422d261ffbeb779bd33a0cfba019d
parent3bfec9f63b53abd11131c164c4fa941ee1743286 (diff)
downloadpylint-git-a9cb1c740a9f3d570bc90b42d1d3015aee95712c.tar.gz
Disable too-many-branches for complex function
-rw-r--r--pylint/checkers/variables.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py
index 921b8e749..4ae13cadf 100644
--- a/pylint/checkers/variables.py
+++ b/pylint/checkers/variables.py
@@ -969,6 +969,7 @@ class VariablesChecker(BaseChecker):
return regex and regex.match(name)
def _check_is_unused(self, name, node, stmt, global_names, nonlocal_names):
+ # pylint: disable=too-many-branches
# Ignore some special names specified by user configuration.
if self._is_name_ignored(stmt, name):
return