From a9cb1c740a9f3d570bc90b42d1d3015aee95712c Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Thu, 23 May 2019 09:41:10 +0200 Subject: Disable too-many-branches for complex function --- pylint/checkers/variables.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1