Commit 90b7e8cd by Alexander Popov

Fix pylint warnings: mark run_engine() with @staticmethod

parent 453618bc
...@@ -16,7 +16,8 @@ import json ...@@ -16,7 +16,8 @@ import json
from .engine import KconfigCheck, CmdlineCheck, populate_with_data, perform_checks from .engine import KconfigCheck, CmdlineCheck, populate_with_data, perform_checks
class TestEngine(unittest.TestCase): 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 the checklist with data
populate_with_data(checklist, parsed_kconfig_options, 'kconfig') populate_with_data(checklist, parsed_kconfig_options, 'kconfig')
populate_with_data(checklist, parsed_cmdline_options, 'cmdline') populate_with_data(checklist, parsed_cmdline_options, 'cmdline')
......
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