Recent versions of pylint require the first parameter of a metaclass to be
"cls". Older versions want "mcs". There's no way to support both by changing the
code, so the configuration file of pylint is changed instead, to have the
current codebase work with both versions.

Signed-off-by: Michele Tartara <[email protected]>
---
 pylintrc |    1 +
 1 file changed, 1 insertion(+)

diff --git a/pylintrc b/pylintrc
index b47abcd..daea649 100644
--- a/pylintrc
+++ b/pylintrc
@@ -52,6 +52,7 @@ additional-builtins =
 [CLASSES]
 ignore-iface-methods =
 defining-attr-methods = __init__,__new__,setUp
+valid-classmethod-first-arg = cls,mcs
 
 [DESIGN]
 max-args = 15
-- 
1.7.10.4

Reply via email to