diff options
-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 ' |