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) <fiona.klute@gmx.de> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
1b9bba8599
commit
ec2735686a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user