From: Alexander Popov Date: Tue, 16 Jan 2024 04:24:32 +0000 (+0300) Subject: Fix pylint E1101: Instance of 'OptCheck' has no 'type' member X-Git-Tag: v0.6.6~13 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=7d8e8d5690ead4c66086ffde7676c5d9b3c1dabb;p=kconfig-hardened-check.git Fix pylint E1101: Instance of 'OptCheck' has no 'type' member --- diff --git a/kernel_hardening_checker/engine.py b/kernel_hardening_checker/engine.py index 4e4eee9..a810b98 100644 --- a/kernel_hardening_checker/engine.py +++ b/kernel_hardening_checker/engine.py @@ -57,6 +57,10 @@ class OptCheck: self.state = None self.result = None + @property + def type(self): + return None + def check(self): # handle the 'is present' check if self.expected == 'is present':