Update pytype_test to be compatible with the latest pytype version. (#8551)

We moved some files around =)
This commit is contained in:
Rebecca Chen
2022-08-17 19:18:33 -07:00
committed by GitHub
parent 2c052651e9
commit 1e1a586893
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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"