summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-07 23:32:11 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-05-07 23:32:11 +0300
commitb1713d1e3600a2e1e8f8b3e01dfe77c46ce9674d (patch)
treecf101cf1566756e2e3c70a9e76182984a7239e55
parent47026a19b1d01ffbb19e6f07932f8db71a1df974 (diff)
downloadpylint-b1713d1e3600a2e1e8f8b3e01dfe77c46ce9674d.tar.gz
Don't emit warnings in the deprecated method.
-rw-r--r--pylint/reporters/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/reporters/__init__.py b/pylint/reporters/__init__.py
index 5a70647..027f4f2 100644
--- a/pylint/reporters/__init__.py
+++ b/pylint/reporters/__init__.py
@@ -70,6 +70,7 @@ class BaseReporter(object):
def add_message(self, msg_id, location, msg):
"""Deprecated, do not use."""
+ # pylint: disable=no-self-use,unused-argument
msg = ("This method is deprecated, use handle_message instead. "
"It will be removed in Pylint 1.6.")
warnings.warn(msg, DeprecationWarning, stacklevel=2)