Commit 87947a9e authored by Michele Tartara's avatar Michele Tartara
Browse files

Fix metaclasses support in recent pylint versions

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: default avatarMichele Tartara <>
Reviewed-by: default avatarKlaus Aehlig <>
parent edada04b
......@@ -52,6 +52,7 @@ additional-builtins =
ignore-iface-methods =
defining-attr-methods = __init__,__new__,setUp
valid-classmethod-first-arg = cls,mcs
max-args = 15
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment