summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-11-29 18:21:49 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-11-29 18:21:49 +0200
commit4949e568ec3cd6f11dd03b9303f06cf4e085df08 (patch)
tree06120f09c1ccb2439147656606ed2c5aa9021ac1
parentf22d999d6c486bdceeb481b0d7d2d1dced0f86dd (diff)
downloadpylint-git-4949e568ec3cd6f11dd03b9303f06cf4e085df08.tar.gz
Disable redefined-variable-type for now for 1.5.0.
-rw-r--r--pylint/checkers/base.py2
-rw-r--r--pylintrc3
2 files changed, 3 insertions, 2 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
index cd995b631..d9195153c 100644
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -1919,7 +1919,7 @@ class MultipleTypesChecker(BaseChecker):
for name, args in assigns.items():
if len(args) <= 1:
continue
- orig_node, orig_type = args[0]
+ _, orig_type = args[0]
# Check if there is a type in the following nodes that would be
# different from orig_type.
for redef_node, redef_type in args[1:]:
diff --git a/pylintrc b/pylintrc
index 3f1c754cd..a1dfd271a 100644
--- a/pylintrc
+++ b/pylintrc
@@ -59,7 +59,8 @@ disable=invalid-name,protected-access,fixme,too-many-branches,
import-error,too-many-lines,too-many-instance-attributes,
too-many-public-methods,duplicate-code,broad-except,
redefined-builtin,anomalous-backslash-in-string,
- missing-docstring,no-member,bad-builtin
+ missing-docstring,no-member,bad-builtin,
+ redefined-variable-type
[REPORTS]