projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
453618b
)
Fix pylint warnings: mark run_engine() with @staticmethod
author
Alexander Popov
<alex.popov@linux.com>
Fri, 24 Mar 2023 20:11:22 +0000
(23:11 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Fri, 24 Mar 2023 20:11:22 +0000
(23:11 +0300)
kconfig_hardened_check/test_engine.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/test_engine.py
b/kconfig_hardened_check/test_engine.py
index 90c6fa8d57d71d1d9ca51a33a700321a8ce68166..4147da96db1355d628b83a40d93c8ac29ae89ab7 100644
(file)
--- a/
kconfig_hardened_check/test_engine.py
+++ b/
kconfig_hardened_check/test_engine.py
@@
-16,7
+16,8
@@
import json
from .engine import KconfigCheck, CmdlineCheck, populate_with_data, perform_checks
class TestEngine(unittest.TestCase):
- def run_engine(self, checklist, parsed_kconfig_options, parsed_cmdline_options, kernel_version):
+ @staticmethod
+ def run_engine(checklist, parsed_kconfig_options, parsed_cmdline_options, kernel_version):
# populate the checklist with data
populate_with_data(checklist, parsed_kconfig_options, 'kconfig')
populate_with_data(checklist, parsed_cmdline_options, 'cmdline')