summaryrefslogtreecommitdiff
path: root/pylint/checkers/typecheck.py
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-07-02 15:17:10 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-07-02 15:17:10 +0300
commit10b1a52534f5d39a9894b552ab345f4ce0c195b9 (patch)
tree70eed77a290b5a4a986605023fb5a616d420cfb3 /pylint/checkers/typecheck.py
parent6184c47962d8f693d0eb13fe149ca2c7666bf2fe (diff)
downloadpylint-10b1a52534f5d39a9894b552ab345f4ce0c195b9.tar.gz
Disable for unsupported-binary-operation
Unfortunately, this warning exhibits currently way too many false positives, practically rendering this error useless. I can't fix all of them until I release Pylint 1.5, so the most reasonable choice for now is to disable it and reenable it as soon as we fix those problems.
Diffstat (limited to 'pylint/checkers/typecheck.py')
-rw-r--r--pylint/checkers/typecheck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py
index c4679dc..98f4464 100644
--- a/pylint/checkers/typecheck.py
+++ b/pylint/checkers/typecheck.py
@@ -725,12 +725,12 @@ accessed. Python regular expressions are accepted.'}
args=str(error), node=node)
@check_messages('unsupported-binary-operation')
- def visit_binop(self, node):
+ def _visit_binop(self, node):
"""Detect TypeErrors for binary arithmetic operands."""
self._check_binop_errors(node)
@check_messages('unsupported-binary-operation')
- def visit_augassign(self, node):
+ def _visit_augassign(self, node):
"""Detect TypeErrors for augmented binary arithmetic operands."""
self._check_binop_errors(node)