diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-26 15:53:02 +0000 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-26 15:53:02 +0000 |
commit | 9af681ac214be79d6cbedd7bcf68f24c6cd27d99 (patch) | |
tree | b46c2da730f4e2eeadc878c100e206eef597b4b3 | |
parent | 3ed5bafbea80cc13d6951d36ed5462dd39d714f3 (diff) | |
download | pylint-9af681ac214be79d6cbedd7bcf68f24c6cd27d99.tar.gz |
Use a lower message id for misplaced-comparison-constant.
-rw-r--r-- | pylint/checkers/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py index 894c429..25f2c8b 100644 --- a/pylint/checkers/base.py +++ b/pylint/checkers/base.py @@ -1466,7 +1466,7 @@ class ComparisonChecker(_BasicChecker): 'singleton-comparison', 'Used when an expression is compared to singleton ' 'values like True, False or None.'), - 'C0151': ('Comparison should be %s', + 'C0122': ('Comparison should be %s', 'misplaced-comparison-constant', 'Used when the constant is placed on the left side' 'of a comparison. It is usually clearer in intent to ' |