diff options
Diffstat (limited to 'pylintrc')
-rw-r--r-- | pylintrc | 29 |
1 files changed, 5 insertions, 24 deletions
@@ -411,44 +411,25 @@ max-spelling-suggestions=2 [DESIGN] # Maximum number of arguments for function / method -max-args=10 +max-args = 9 # Maximum number of locals for function / method body -max-locals=25 +max-locals = 19 # Maximum number of return / yield for function / method body max-returns=11 # Maximum number of branch for function / method body -max-branches=27 +max-branches = 20 # Maximum number of statements in function / method body -max-statements=100 - -# Maximum number of parents for a class (see R0901). -max-parents=7 - -# List of qualified class names to ignore when counting class parents (see R0901). -ignored-parents= +max-statements = 50 # Maximum number of attributes for a class (see R0902). max-attributes=11 -# Minimum number of public methods for a class (see R0903). -min-public-methods=2 - -# Maximum number of public methods for a class (see R0904). -max-public-methods=25 - -# Maximum number of boolean expressions in an if statement (see R0916). -max-bool-expr=5 - # Maximum number of statements in a try-block -max-try-statements = 14 - -# List of regular expressions of class ancestor names to -# ignore when counting public methods (see R0903). -exclude-too-few-public-methods= +max-try-statements = 7 [CLASSES] |