From: Alexander Popov Date: Sun, 2 Apr 2023 09:28:47 +0000 (+0300) Subject: Fix a pylint warning about f-string X-Git-Tag: v0.6.6~183 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=7e625e314137d94b3af0bf274c30de7b00dcf4f0;p=kconfig-hardened-check.git Fix a pylint warning about f-string --- diff --git a/kconfig_hardened_check/engine.py b/kconfig_hardened_check/engine.py index 8a4ccb8..bd73ec1 100644 --- a/kconfig_hardened_check/engine.py +++ b/kconfig_hardened_check/engine.py @@ -255,7 +255,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