From 92a654450834f12f1b7260409b89841ddc389cd9 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Thu, 9 Jun 2022 01:32:59 +0300 Subject: [PATCH] Drop unneeded properties of ComplexOptCheck Thanks to the coverage info --- kconfig_hardened_check/__init__.py | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index fea8272..0c58c0c 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -193,25 +193,17 @@ class ComplexOptCheck: 'invalid {} check: {}'.format(self.__class__.__name__, opts) self.result = None - @property - def name(self): - return self.opts[0].name - @property def type(self): return 'complex' @property - def expected(self): - return self.opts[0].expected - - @property - def decision(self): - return self.opts[0].decision + def name(self): + return self.opts[0].name @property - def reason(self): - return self.opts[0].reason + def expected(self): + return self.opts[0].expected def table_print(self, mode, with_results): if mode == 'verbose': -- 2.31.1