From: Alexander Popov Date: Fri, 24 Mar 2023 20:11:22 +0000 (+0300) Subject: Fix pylint warnings: mark run_engine() with @staticmethod X-Git-Tag: v0.6.6~206 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=90b7e8cd79accaee3ec9b535947c15c860163be3;p=kconfig-hardened-check.git Fix pylint warnings: mark run_engine() with @staticmethod --- diff --git a/kconfig_hardened_check/test_engine.py b/kconfig_hardened_check/test_engine.py index 90c6fa8..4147da9 100644 --- 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')