From 3a63f4982088093700ea9e15ad3a58da23beefcf Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Tue, 14 May 2024 01:12:17 +0300 Subject: [PATCH] Improve typing and drop the unused **kwargs in the KconfigCheck constructor --- kernel_hardening_checker/engine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel_hardening_checker/engine.py b/kernel_hardening_checker/engine.py index 7195bc0..0f18781 100644 --- a/kernel_hardening_checker/engine.py +++ b/kernel_hardening_checker/engine.py @@ -133,8 +133,8 @@ class OptCheck: class KconfigCheck(OptCheck): - def __init__(self, *args, **kwargs) -> None: - super().__init__(*args, **kwargs) + def __init__(self, *args: str) -> None: + super().__init__(*args) self.name = f'CONFIG_{self.name}' @property -- 2.31.1