mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Use Python 3.8 in runtests.py (#10600)
We only support running mypy using 3.8+ up, since mypy 1.5 dropped support for running with Python 3.7. Closes: #10599
This commit is contained in:
@@ -26,9 +26,9 @@ _NPX_ERROR_MESSAGE = colored("\nSkipping Pyright tests: npx is not installed or
|
||||
_SUCCESS = colored("Success", "green")
|
||||
_SKIPPED = colored("Skipped", "yellow")
|
||||
_FAILED = colored("Failed", "red")
|
||||
# We're using the oldest supported version because it's the most likely to produce errors
|
||||
# We're using the oldest fully supported version because it's the most likely to produce errors
|
||||
# due to unsupported syntax, feature, or bug in a tool.
|
||||
_PYTHON_VERSION = "3.7"
|
||||
_PYTHON_VERSION = "3.8"
|
||||
|
||||
|
||||
def _parse_jsonc(json_text: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user