summaryrefslogtreecommitdiff
path: root/pylint/checkers/refactoring.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2019-07-06 19:41:58 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2019-08-19 13:54:52 +0200
commit36e556837aa524fb0ff167782943483b5233b040 (patch)
treeda9797cf35b553739a608655c99e7bf180faf22f /pylint/checkers/refactoring.py
parent32255df5608bb8b2d5b0bc05bf70712b61f44204 (diff)
downloadpylint-git-36e556837aa524fb0ff167782943483b5233b040.tar.gz
[pylint.checkers] Make the link between msgid and symbol strictly 1-1
Will permit to improve performance with less check but more importantly simplify the message store a lot.
Diffstat (limited to 'pylint/checkers/refactoring.py')
-rw-r--r--pylint/checkers/refactoring.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/refactoring.py b/pylint/checkers/refactoring.py
index ae91c1110..6291e9126 100644
--- a/pylint/checkers/refactoring.py
+++ b/pylint/checkers/refactoring.py
@@ -141,13 +141,13 @@ class RefactoringChecker(checkers.BaseTokenChecker):
"Used when a function or a method has too many nested "
"blocks. This makes the code less understandable and "
"maintainable.",
- {"old_names": [("R0101", "too-many-nested-blocks")]},
+ {"old_names": [("R0101", "old-too-many-nested-blocks")]},
),
"R1703": (
"The if statement can be replaced with %s",
"simplifiable-if-statement",
"Used when an if statement can be replaced with 'bool(test)'. ",
- {"old_names": [("R0102", "simplifiable-if-statement")]},
+ {"old_names": [("R0102", "old-simplifiable-if-statement")]},
),
"R1704": (
"Redefining argument with the local name %r",