mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-09 19:21:26 +08:00
Update pytype to 2024.09.13 and Python 3.12 (#12653)
This commit is contained in:
@@ -73,8 +73,8 @@ for this script.
|
||||
|
||||
Note: this test cannot be run on Windows
|
||||
systems unless you are using Windows Subsystem for Linux.
|
||||
It also requires a Python version < 3.11 as pytype does not yet support
|
||||
Python 3.11 and above.
|
||||
It also requires a Python version < 3.13 as pytype does not yet support
|
||||
Python 3.13 and above.
|
||||
|
||||
Run using:
|
||||
```bash
|
||||
|
||||
@@ -30,8 +30,8 @@ from _utils import SupportedVersionsDict, parse_stdlib_versions_file, supported_
|
||||
if sys.platform == "win32":
|
||||
print("pytype does not support Windows.", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
if sys.version_info >= (3, 12):
|
||||
print("pytype does not support Python 3.12+ yet.", file=sys.stderr)
|
||||
if sys.version_info >= (3, 13):
|
||||
print("pytype does not support Python 3.13+ yet.", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
# pytype is not py.typed https://github.com/google/pytype/issues/1325
|
||||
|
||||
Reference in New Issue
Block a user