From 90b7e8cd79accaee3ec9b535947c15c860163be3 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Fri, 24 Mar 2023 23:11:22 +0300 Subject: [PATCH] Fix pylint warnings: mark run_engine() with @staticmethod --- kconfig_hardened_check/test_engine.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- 2.31.1