Commit acdc976f authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: pylint was incorrectly raising an error on InterfaceClass method.

parent 28a7b646
......@@ -512,6 +512,8 @@ def checkPythonSourceCode(source_code_str, portal_type=None):
# Interfaces methods have no arguments:
# E: 5, 2: Method has no argument (no-method-argument)
args.append('--disable=E0211')
# Method should have "self" as first argument (no-self-argument)
args.append('--disable=E0213')
try:
from pylint.extensions.bad_builtin import __name__ as ext
......
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