[IMP] test_lint: check for function-redefined error with pylint
With this commit, pylint will now point out when the same function/class/method is defined more than once in the same scope which is a recurring mistake. closes odoo/odoo#60044 Related: odoo/enterprise#14090 Signed-off-by: Adrian Torres (adt) <adt@odoo.com>
This commit is contained in:
@@ -28,6 +28,7 @@ class TestPyLint(TransactionCase):
|
||||
'undefined-variable',
|
||||
'eval-used',
|
||||
'unreachable',
|
||||
'function-redefined',
|
||||
|
||||
# custom checkers
|
||||
'sql-injection',
|
||||
|
||||
Reference in New Issue
Block a user