From 71a1cea924e2ff0dc4b0103a4400b269c1a6bcb1 Mon Sep 17 00:00:00 2001 From: Joerg Henrichs Date: Thu, 20 Feb 2025 10:32:21 +1100 Subject: [PATCH] Make mypy even happier. --- source/fab/tools/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fab/tools/compiler.py b/source/fab/tools/compiler.py index d156070a..5615c8bc 100644 --- a/source/fab/tools/compiler.py +++ b/source/fab/tools/compiler.py @@ -96,7 +96,7 @@ def get_hash(self) -> int: return (zlib.crc32(self.name.encode()) + zlib.crc32(self.get_version_string().encode())) - def get_flags(self, profile: Optional[str] = None) -> list[str]: + def get_flags(self, profile: Optional[str] = None) -> List[str]: '''Determines the flags to be used. We should always add $FFLAGS,so we always add them in here.