From ec2735686a24bb6806a028bc2177000e389cd782 Mon Sep 17 00:00:00 2001 From: "Fiona Klute (WIWA)" Date: Mon, 17 Feb 2025 16:31:27 +0100 Subject: [PATCH] support/testing: fix MyPy warnings about BRConfigTest This removes warnings in editors/IDEs with MyPy typechecking integration. Test classes override "config" with strings (different type than None). Signed-off-by: Fiona Klute (WIWA) Signed-off-by: Julien Olivain --- support/testing/infra/basetest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/testing/infra/basetest.py b/support/testing/infra/basetest.py index 1ae6232da8..4f020e8a93 100644 --- a/support/testing/infra/basetest.py +++ b/support/testing/infra/basetest.py @@ -24,8 +24,8 @@ MINIMAL_CONFIG = \ class BRConfigTest(unittest.TestCase): """Test up to the configure stage.""" - config = None - br2_external = list() + config: str + br2_external: list[str] = list() downloaddir = None outputdir = None logtofile = True