From 544d7841bc52e90bab27500ddf70ec46e4c514b8 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 23 Jan 2022 00:33:04 +0300 Subject: [PATCH] ComplexOptCheck type has the type of the first opt in it --- kconfig_hardened_check/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index ae51ca0..f1de819 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -176,6 +176,10 @@ class ComplexOptCheck: def name(self): return self.opts[0].name + @property + def type(self): + return self.opts[0].type + @property def expected(self): return self.opts[0].expected -- 2.31.1