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

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 <mtartara@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent edada04b
......@@ -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
......
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