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

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

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] = []