diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-12-16 11:29:31 +0100 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-12-16 11:29:31 +0100 |
commit | 358cf792d4f4c6f27476c315bc815d5eb43e2e75 (patch) | |
tree | 98fa0b12eab36b0093b05adfc68113a4b420ab2e | |
parent | e530f14b1f91fba8c3e1ce532620335048db7299 (diff) | |
download | pylint-358cf792d4f4c6f27476c315bc815d5eb43e2e75.tar.gz |
py3k : disable W0122 W0331 W0332 W0333 mesages for python3
-rw-r--r-- | checkers/format.py | 4 |
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 "!=".'), |