summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-07 23:38:59 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-07 23:38:59 +0300
commitef5ec31a63a352201dcf524630455ab00000c6bf (patch)
tree02f0e987d68f9fce0a92afa51b47c8bb2d441354
parentb1713d1e3600a2e1e8f8b3e01dfe77c46ce9674d (diff)
downloadpylint-ef5ec31a63a352201dcf524630455ab00000c6bf.tar.gz
Get rid of abstract-method warnings emitted over pylint's codebase.
-rw-r--r--pylint/reporters/__init__.py2
-rw-r--r--pylint/testutils.py2
-rw-r--r--pylintrc2
3 files changed, 5 insertions, 1 deletions
diff --git a/pylint/reporters/__init__.py b/pylint/reporters/__init__.py
index 027f4f2..7103ade 100644
--- a/pylint/reporters/__init__.py
+++ b/pylint/reporters/__init__.py
@@ -133,6 +133,8 @@ class CollectingReporter(BaseReporter):
def handle_message(self, msg):
self.messages.append(msg)
+ _display = None
+
def initialize(linter):
"""initialize linter with reporters in this package """
diff --git a/pylint/testutils.py b/pylint/testutils.py
index f53d945..34ac47c 100644
--- a/pylint/testutils.py
+++ b/pylint/testutils.py
@@ -129,6 +129,8 @@ class TestReporter(BaseReporter):
def display_results(self, layout):
"""ignore layouts"""
+ _display = None
+
class Message(collections.namedtuple('Message',
['msg_id', 'line', 'node', 'args'])):
diff --git a/pylintrc b/pylintrc
index 156a9f7..ed25094 100644
--- a/pylintrc
+++ b/pylintrc
@@ -63,7 +63,7 @@ confidence=
disable=invalid-name,protected-access,fixme,too-many-branches,
attribute-defined-outside-init,too-many-locals,
- too-many-arguments,abstract-method,too-many-statements,
+ too-many-arguments,too-many-statements,
too-many-return-statements,too-few-public-methods,
import-error,too-many-lines,too-many-instance-attributes,
too-many-public-methods,duplicate-code,broad-except,