From fa4029907c9268de53446103b25d7599ad0e0a43 Mon Sep 17 00:00:00 2001 From: Manuel <32420286+feman323@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:26:54 +0200 Subject: [PATCH] build: Enable PyLint rules that already pass successfully Related to #1755 Thank you to Manual (@feman323) for this contribution. --- common/test/test_lint.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/common/test/test_lint.py b/common/test/test_lint.py index be928bcf5..fd27a3dcc 100644 --- a/common/test/test_lint.py +++ b/common/test/test_lint.py @@ -95,22 +95,22 @@ def test_with_pylint(self): 'W1301', # unused-format-string-key 'W1401', # anomalous-backslash-in-string (invalid escape sequence) 'W1515', # forgotten-debug-statement + 'R0201', # no-self-use + 'R0202', # no-classmethod-decorator + 'R0203', # no-staticmethod-decorator + 'W0404', # reimported + 'W4902', # deprecated-method + 'W4904', # deprecated-class + 'W0614', # unused-wildcard-import # Enable asap. This list is selection of existing (not all!) # problems currently exiting in the BIT code base. Quit easy to fix # because there count is low. - # 'R0201', # no-self-use - # 'R0202', # no-classmethod-decorator - # 'R0203', # no-staticmethod-decorator # 'R0801', # duplicate-code # 'W0123', # eval-used # 'W0237', # arguments-renamed # 'W0221', # arguments-differ - # 'W0404', # reimported - # 'W4902', # deprecated-method - # 'W4904', # deprecated-class # 'W0603', # global-statement - # 'W0614', # unused-wildcard-import # 'W0612', # unused-variable # 'W0707', # raise-missing-from ]