Run mypy and pyright on our py312 stubs in CI (#10119)

This commit is contained in:
Alex Waygood authored and GitHub committed 2023-04-30 15:31:08 +01:00
1 parent e0db6d2edd
commit 2c3449694b
7 files changed
+18 -9

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ from utils import colored, print_error
ReturnCode: TypeAlias = int
SUPPORTED_PLATFORMS = ("linux", "darwin", "win32")
SUPPORTED_VERSIONS = ("3.11", "3.10", "3.9")
SUPPORTED_VERSIONS = ("3.12", "3.11", "3.10", "3.9")
LOWEST_SUPPORTED_VERSION = min(SUPPORTED_VERSIONS, key=lambda x: int(x.split(".")[1]))
DIRECTORIES_TO_TEST = ("scripts", "tests")
EMPTY: list[str] = []