summaryrefslogtreecommitdiff
path: root/checkers/newstyle.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2013-12-20 11:18:19 +0100
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2013-12-20 11:18:19 +0100
commita4dd16578a251ad97be2d06f61235aeded44a6cc (patch)
treed3f352fe3d01a8428ed4058831d92f02fb076df6 /checkers/newstyle.py
parente133f3fba933eacc307012ec09c835ebe1b5791c (diff)
downloadpylint-a4dd16578a251ad97be2d06f61235aeded44a6cc.tar.gz
[py3] missing-super-argument is a python2 only message
Diffstat (limited to 'checkers/newstyle.py')
-rw-r--r--checkers/newstyle.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/checkers/newstyle.py b/checkers/newstyle.py
index 9832195..42cab1c 100644
--- a/checkers/newstyle.py
+++ b/checkers/newstyle.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2005-2006 LOGILAB S.A. (Paris, FRANCE).
+# Copyright (c) 2005-2013 LOGILAB S.A. (Paris, FRANCE).
# http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This program is free software; you can redistribute it and/or modify it under
@@ -37,7 +37,8 @@ MSGS = {
'E1004': ('Missing argument to super()',
'missing-super-argument',
'Used when the super builtin didn\'t receive an \
- argument on Python 2'),
+ argument on Python 2',
+ {'maxversion': (2, 7)}),
'W1001': ('Use of "property" on an old style class',
'property-on-old-class',
'Used when PyLint detect the use of the builtin "property" \