Commit b7c4f38b authored by Jérome Perrin's avatar Jérome Perrin

pylint: WIP bad

parent 3b3c7378
......@@ -535,8 +535,6 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
# TODO-arnau: Enable it properly would require inspection API
# '%s %r has no %r member'
'--disable=E1101,E1103',
# XXX duplicate-bases causes too many false positives
'--disable=duplicate-bases',
# map and filter should not be considered bad as in some cases
# map is faster than its recommended replacement (list
# comprehension)
......@@ -557,7 +555,10 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
(
"--msg-template='{C}: {line},{column}: {msg} ({symbol})'",
# BBB until we drop compatibility with PY2
"--disable=redundant-u-string-prefix,raise-missing-from,keyword-arg-before-vararg",
'--disable=redundant-u-string-prefix,raise-missing-from,keyword-arg-before-vararg',
# XXX WIP Jerome
'--disable=duplicate-bases',
'--disable=arguments-renamed,arguments-differ',
)
)
if portal_type == 'Interface Component':
......
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