mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
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):
|
class BRConfigTest(unittest.TestCase):
|
||||||
"""Test up to the configure stage."""
|
"""Test up to the configure stage."""
|
||||||
config = None
|
config: str
|
||||||
br2_external = list()
|
br2_external: list[str] = list()
|
||||||
downloaddir = None
|
downloaddir = None
|
||||||
outputdir = None
|
outputdir = None
|
||||||
logtofile = True
|
logtofile = True
|
||||||
|
|||||||
Reference in New Issue
Block a user