diff options
-rw-r--r-- | pylint/checkers/typecheck.py | 1 | ||||
-rw-r--r-- | pylintrc | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py index 263d5ce0f..bad33c667 100644 --- a/pylint/checkers/typecheck.py +++ b/pylint/checkers/typecheck.py @@ -848,6 +848,7 @@ accessed. Python regular expressions are accepted.'} args=node.func.as_string()) break + # pylint: disable=too-many-branches @check_messages(*(list(MSGS.keys()))) def visit_call(self, node): """check that called functions/methods are inferred to callable objects, @@ -63,7 +63,6 @@ disable= redefined-builtin, protected-access, too-many-locals, - too-many-branches, too-many-arguments, too-many-statements, too-few-public-methods, @@ -320,7 +319,7 @@ max-locals=15 max-returns=11 # Maximum number of branch for function / method body -max-branches=12 +max-branches=26 # Maximum number of statements in function / method body max-statements=50 |