summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-12-16 11:29:31 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-12-16 11:29:31 +0100
commit358cf792d4f4c6f27476c315bc815d5eb43e2e75 (patch)
tree98fa0b12eab36b0093b05adfc68113a4b420ab2e
parente530f14b1f91fba8c3e1ce532620335048db7299 (diff)
downloadpylint-358cf792d4f4c6f27476c315bc815d5eb43e2e75.tar.gz
py3k : disable W0122 W0331 W0332 W0333 mesages for python3
-rw-r--r--checkers/format.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/checkers/format.py b/checkers/format.py
index 8d6ab67..65202ff 100644
--- a/checkers/format.py
+++ b/checkers/format.py
@@ -58,7 +58,11 @@ MSGS = {
'| > | = | \+= | -= | \*= | /= | %) is not followed by a space.'),
'C0324': ('Comma not followed by a space\n%s',
'Used when a comma (",") is not followed by a space.'),
+ }
+
+if sys.version_info < (3, 0):
+ MSGS.update({
'W0331': ('Use of the <> operator',
'Used when the deprecated "<>" operator is used instead \
of "!=".'),