Fix pylint E1101: Instance of 'OptCheck' has no 'type' member
[kconfig-hardened-check.git] / kernel_hardening_checker / engine.py
index 64be2043b3f679c1d577dd92e4334ecbd1d794af..a810b98b450008baf0601bff08606099105f5d88 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 """
 This tool is for checking the security hardening options of the Linux kernel.
@@ -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':