summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-18 18:51:13 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-18 18:51:13 +0300
commita6c9f893f8631f564d102a852155d7f264a05132 (patch)
tree0de781f4327de9537c9fcf91604efd12094fba03
parent4da87c835e88a4e0eec99b4a0a2b13584def1aef (diff)
downloadpylint-a6c9f893f8631f564d102a852155d7f264a05132.tar.gz
Change the numeric ids of the new checkers.
-rw-r--r--pylint/checkers/typecheck.py4
-rw-r--r--pylint/test/functional/arguments.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
index 80b51b5..687dd79 100644
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.py
@@ -848,11 +848,11 @@ class IterableChecker(BaseChecker):
__implements__ = (IAstroidChecker,)
name = 'iterable_check'
- msgs = {'E1132': ('Non-iterable value %s is used in an iterating context',
+ msgs = {'E1133': ('Non-iterable value %s is used in an iterating context',
'not-an-iterable',
'Used when a non-iterable value is used in place where'
'iterable is expected'),
- 'E1133': ('Non-mapping value %s is used in a mapping context',
+ 'E1134': ('Non-mapping value %s is used in a mapping context',
'not-a-mapping',
'Used when a non-mapping value is used in place where'
'mapping is expected'),
diff --git a/pylint/test/functional/arguments.py b/pylint/test/functional/arguments.py
index 9f0dc63..8ae008d 100644
--- a/pylint/test/functional/arguments.py
+++ b/pylint/test/functional/arguments.py
@@ -147,6 +147,8 @@ class Issue642(object):
# since they have something invalid.
from ala_bala_portocola import unknown
+# pylint: disable=not-a-mapping,not-an-iterable
+
function_1_arg(*unknown)
function_1_arg(1, *2)
function_1_arg(1, 2, 3, **unknown)