Commit 00a3315e authored by Jérome Perrin's avatar Jérome Perrin

pylint: disable duplicate-bases

false positive from base classes are propagated in any class inheriting
from Folder of Base. Disabling is more practical because duplicate-bases
errors are not common.
parent 812631da
...@@ -535,6 +535,8 @@ def checkPythonSourceCode(source_code_str, portal_type=None): ...@@ -535,6 +535,8 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
# TODO-arnau: Enable it properly would require inspection API # TODO-arnau: Enable it properly would require inspection API
# '%s %r has no %r member' # '%s %r has no %r member'
'--disable=E1101,E1103', '--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 and filter should not be considered bad as in some cases
# map is faster than its recommended replacement (list # map is faster than its recommended replacement (list
# comprehension) # comprehension)
......
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