diff options
author | Brett Cannon <brett@python.org> | 2015-02-20 11:35:29 -0500 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2015-02-20 11:35:29 -0500 |
commit | f62e14422ef8600ebfac770d2b83e893f2490477 (patch) | |
tree | 6eb1c06e257981aff52002f386d750343a7125a0 | |
parent | 1e0aa14e0eb6c58d997d98134111641752b4a4fa (diff) | |
download | pylint-f62e14422ef8600ebfac770d2b83e893f2490477.tar.gz |
Set old_names for map-builtin-not-iterating since it replaced implicit-map-evaluation
-rw-r--r-- | pylint/checkers/python3.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py index 33689a9..bb072d1 100644 --- a/pylint/checkers/python3.py +++ b/pylint/checkers/python3.py @@ -278,7 +278,7 @@ class Python3Checker(checkers.BaseChecker): 'Used when a __cmp__ method is defined ' '(method is not used by Python 3)', {'maxversion': (3, 0)}), - # 'W1631': 'implicit-map-evaluation' superceded by map-builtin-not-iterating. + # 'W1631': replaced by W1636 'W1632': ('input built-in referenced', 'input-builtin', 'Used when the input built-in is referenced ' @@ -303,7 +303,8 @@ class Python3Checker(checkers.BaseChecker): 'map-builtin-not-iterating', 'Used when the map built-in is referenced in a non-iterating ' 'context (returns an iterator in Python 3)', - {'maxversion': (3, 0)}), + {'maxversion': (3, 0), + 'old_names': [('W1631', 'implicit-map-evaluation')]}), 'W1637': ('zip built-in referenced when not iterating', 'zip-builtin-not-iterating', 'Used when the zip built-in is referenced in a non-iterating ' |