mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Update pytype_test to be compatible with the latest pytype version. (#8551)
We moved some files around =)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
mypy==0.971
|
||||
pytype==2022.8.3; platform_system != "Windows"
|
||||
pytype==2022.8.17; platform_system != "Windows"
|
||||
# must match .pre-commit-config.yaml
|
||||
black==22.6.0
|
||||
# must match .pre-commit-config.yaml
|
||||
|
||||
@@ -19,7 +19,7 @@ import traceback
|
||||
from collections.abc import Sequence
|
||||
|
||||
from pytype import config as pytype_config, load_pytd # type: ignore[import]
|
||||
from pytype.pytd import typeshed # type: ignore[import]
|
||||
from pytype.imports import typeshed # type: ignore[import]
|
||||
|
||||
TYPESHED_SUBDIRS = ["stdlib", "stubs"]
|
||||
TYPESHED_HOME = "TYPESHED_HOME"
|
||||
|
||||
Reference in New Issue
Block a user