From 9ec0cfac7937cdf56519f033c074e8f6b4cf1ccf Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Fri, 30 Oct 2015 14:57:57 +0200 Subject: Fix an occurrence of no-classmethod-decorator. --- pylint/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylint/interfaces.py b/pylint/interfaces.py index 03fe1df..35e2a3e 100644 --- a/pylint/interfaces.py +++ b/pylint/interfaces.py @@ -27,9 +27,9 @@ CONFIDENCE_LEVELS = [HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED] class Interface(object): """Base class for interfaces.""" + @classmethod def is_implemented_by(cls, instance): return implements(instance, cls) - is_implemented_by = classmethod(is_implemented_by) def implements(obj, interface): -- cgit v1.2.1