diff options
author | Laura M?dioni <laura.medioni@logilab.fr> | 2015-11-03 14:32:22 +0100 |
---|---|---|
committer | Laura M?dioni <laura.medioni@logilab.fr> | 2015-11-03 14:32:22 +0100 |
commit | f039b5e6bd46256c2299223bca68c03f3fc241a3 (patch) | |
tree | b08ac323817cd430f943af717aa749fa5cd2d5ff | |
parent | 1d3704ade48ff95819e1a897af66c416d0bccaab (diff) | |
download | pylint-f039b5e6bd46256c2299223bca68c03f3fc241a3.tar.gz |
add an extra sentence saying why blocks nesting is a bad pattern
related to the issue #668
-rw-r--r-- | pylint/checkers/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py index c9f0b0a..d8bbdf6 100644 --- a/pylint/checkers/base.py +++ b/pylint/checkers/base.py @@ -1653,7 +1653,8 @@ class ElifChecker(BaseTokenChecker): msgs = {'R0101': ('Too many nested blocks (%s/%s)', 'too-many-nested-blocks', 'Used when a function or a method has too many nested ' - 'blocks.'), + 'blocks. This makes the code less understandable and ' + 'maintainable.'), } options = (('max-nested-blocks', {'default' : 5, 'type' : 'int', 'metavar' : '<int>', |