diff options
author | cpopa <devnull@localhost> | 2014-08-08 19:31:05 +0300 |
---|---|---|
committer | cpopa <devnull@localhost> | 2014-08-08 19:31:05 +0300 |
commit | a9e93977a6cf695c64e7b43cdda0c8e7181452ff (patch) | |
tree | e4f66991bf12c35737bf35c7ed37ef6c8c3e1ca5 /checkers/design_analysis.py | |
parent | d88a7ca5243185fa4bcd2353a2128baab89bacdb (diff) | |
download | pylint-a9e93977a6cf695c64e7b43cdda0c8e7181452ff.tar.gz |
Cleanup.
Diffstat (limited to 'checkers/design_analysis.py')
-rw-r--r-- | checkers/design_analysis.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/checkers/design_analysis.py b/checkers/design_analysis.py index 0725ccf..4fe8bd3 100644 --- a/checkers/design_analysis.py +++ b/checkers/design_analysis.py @@ -262,7 +262,8 @@ class MisdesignChecker(BaseChecker): self.config.min_public_methods)) @check_messages('too-many-return-statements', 'too-many-branches', - 'too-many-arguments', 'too-many-locals', 'too-many-statements') + 'too-many-arguments', 'too-many-locals', + 'too-many-statements') def visit_function(self, node): """check function name, docstring, arguments, redefinition, variable names, max locals @@ -291,7 +292,9 @@ class MisdesignChecker(BaseChecker): # init statements counter self._stmts = 1 - @check_messages('too-many-return-statements', 'too-many-branches', 'too-many-arguments', 'too-many-locals', 'too-many-statements') + @check_messages('too-many-return-statements', 'too-many-branches', + 'too-many-arguments', 'too-many-locals', + 'too-many-statements') def leave_function(self, node): """most of the work is done here on close: checks for max returns, branch, return in __init__ |