diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py index 1cad04adb4ed5d27350f15967fcdda37d81df603..4b4603afb79cd5c03d2e66cacbf6f5d80953437e 100644 --- a/product/ERP5Type/Utils.py +++ b/product/ERP5Type/Utils.py @@ -507,10 +507,10 @@ def checkPythonSourceCode(source_code_str, portal_type=None): if portal_type == 'Interface Component': # Interface inherits from InterfaceClass: - # E: 4, 0: Inheriting 'Interface', which is not a class. (inherit-non-class) + # Inheriting 'Interface', which is not a class. (inherit-non-class) args.append('--disable=E0239') - # Interfaces methods have no arguments: - # E: 5, 2: Method has no argument (no-method-argument) + # Interfaces methods may have no arguments: + # 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')