Add the norandmaps check
[kconfig-hardened-check.git] / kconfig_hardened_check / engine.py
index 8a4ccb8519dbe76323d1feb3dc527201f9ac6127..e88781e5cfbf19f9c5ecd274bfa7a7e2d2d8171c 100644 (file)
@@ -45,10 +45,6 @@ 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':
@@ -255,7 +251,7 @@ def populate_simple_opt_with_data(opt, data, data_type):
     assert(data_type in SIMPLE_OPTION_TYPES), \
            f'invalid data type "{data_type}"'
     assert(data), \
-           f'empty data'
+           'empty data'
 
     if data_type != opt.type:
         return