summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorNick Drozd <nicholasdrozd@gmail.com>2018-01-02 19:46:24 -0600
committerClaudiu Popa <pcmanticore@gmail.com>2018-01-04 08:11:09 +0100
commit3ff7a95da3cdbb6d6931cbd2d67feeb71362288f (patch)
tree7c93dbebf7b764008aee98fa10b65eafe0ccadd1 /pylintrc
parentb8a617b37d2994703c107ed17a513d39c7b6adc8 (diff)
downloadpylint-git-3ff7a95da3cdbb6d6931cbd2d67feeb71362288f.tar.gz
Set max-branches to 26
checkers.typecheck has a function with 43 branches, which is comically many. The next-branchiest has 26 (with no obvious way to reduce that number), so that's the max.
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/pylintrc b/pylintrc
index 3b10bf14f..d90bc95e3 100644
--- a/pylintrc
+++ b/pylintrc
@@ -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