diff options
author | Nick Drozd <nicholasdrozd@gmail.com> | 2018-01-02 18:50:41 -0600 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-01-04 08:11:09 +0100 |
commit | e45dcf33bfe0445e0fb7dd80539d52f4aa7c3f62 (patch) | |
tree | 9ab297ba056ca2016c9214525bc794056609f617 /pylintrc | |
parent | 170fa13e22039797faf51957d3e2c5d07a3ed0aa (diff) | |
download | pylint-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-- | pylintrc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |