summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorNick Drozd <nicholasdrozd@gmail.com>2018-01-02 18:50:41 -0600
committerClaudiu Popa <pcmanticore@gmail.com>2018-01-04 08:11:09 +0100
commite45dcf33bfe0445e0fb7dd80539d52f4aa7c3f62 (patch)
tree9ab297ba056ca2016c9214525bc794056609f617 /pylintrc
parent170fa13e22039797faf51957d3e2c5d07a3ed0aa (diff)
downloadpylint-git-e45dcf33bfe0445e0fb7dd80539d52f4aa7c3f62.tar.gz
Set max-returns to 11
Previously, the greatest number of return statements in a function was 15 (checkers.typecheck). 11 is the lowest I could get it without aggressive rewriting.
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/pylintrc b/pylintrc
index 9b3f48b81..2149c294c 100644
--- a/pylintrc
+++ b/pylintrc
@@ -70,7 +70,6 @@ disable=
too-many-statements,
too-few-public-methods,
too-many-public-methods,
- too-many-return-statements,
too-many-instance-attributes,
@@ -321,7 +320,7 @@ ignored-argument-names=_.*
max-locals=15
# Maximum number of return / yield for function / method body
-max-returns=6
+max-returns=11
# Maximum number of branch for function / method body
max-branches=12