From 2e6428a9084e501726467f79df091337ba6739ed Mon Sep 17 00:00:00 2001 From: V3 Date: Fri, 12 Jan 2024 11:29:23 +0100 Subject: [PATCH] Update auxiliary.py removed the f statement since codacy didn't liked it. --- pandapower/auxiliary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandapower/auxiliary.py b/pandapower/auxiliary.py index 54bb7b64b..dceaf94d3 100644 --- a/pandapower/auxiliary.py +++ b/pandapower/auxiliary.py @@ -99,7 +99,7 @@ def version_check(package_name, level="UserWarning", ignore_not_installed=False) version_check("numba") NUMBA_INSTALLED = True except UserWarning: - msg = f'The numba version is too old.\n' + msg = 'The numba version is too old.\n' log_to_level(msg, logger, 'warning') NUMBA_INSTALLED = False except ImportError: @@ -971,7 +971,7 @@ def _write_lookup_to_net(net, element, element_lookup): def _check_if_numba_is_installed(level="warning"): if not NUMBA_INSTALLED: msg = ( - f'numba cannot be imported and numba functions are disabled.\n' + 'numba cannot be imported and numba functions are disabled.\n' 'Probably the execution is slow.\n' 'Please install numba to gain a massive speedup.\n' '(or if you prefer slow execution, set the flag numba=False to avoid this warning!)')