From: Alexander Popov Date: Mon, 13 May 2024 22:12:17 +0000 (+0300) Subject: Improve typing and drop the unused **kwargs in the KconfigCheck constructor X-Git-Tag: v0.6.10~67^2~3 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=inline;h=3a63f4982088093700ea9e15ad3a58da23beefcf;p=kconfig-hardened-check.git Improve typing and drop the unused **kwargs in the KconfigCheck constructor --- 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