summaryrefslogtreecommitdiff
path: root/pylint/checkers/base.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-26 15:50:14 +0000
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-26 15:50:14 +0000
commitff0050ddc420f559dcae414b5944eec20b70103a (patch)
tree92404dc90bb1fe306749f1dcc15bf8987a9a9aa8 /pylint/checkers/base.py
parentad6b806b7256440ef030358106214bd9d6259a1c (diff)
downloadpylint-ff0050ddc420f559dcae414b5944eec20b70103a.tar.gz
Make misplaced-comparison-constant a convention, rather than a warning.
Diffstat (limited to 'pylint/checkers/base.py')
-rw-r--r--pylint/checkers/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
index 234737e..87d1a4d 100644
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -1465,7 +1465,7 @@ class ComparisonChecker(_BasicChecker):
'singleton-comparison',
'Used when an expression is compared to singleton '
'values like True, False or None.'),
- 'W0151': ('Comparison should be %s',
+ 'C0151': ('Comparison should be %s',
'misplaced-comparison-constant',
'Used when the constant is placed on the left side'
'of a comparison'),