Skip to content

Commit 204ba3e

Browse files
committed
improve bisection deps for mypy
1 parent 6103c4a commit 204ba3e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

mypy_primer/type_checker.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ async def pip_install(*targets: str) -> None:
4949
env["MYPY_USE_MYPYC"] = "1"
5050
env["MYPYC_OPT_LEVEL"] = str(mypyc_compile_level) # can be zero
5151
await pip_install(
52-
"typing_extensions", "mypy_extensions", "tomli", "types-psutil", "types-setuptools"
52+
"typing_extensions",
53+
"mypy_extensions",
54+
"tomli",
55+
"pathspec",
56+
"types-psutil",
57+
"types-setuptools",
5358
)
5459
await run(
5560
[str(venv.python), "-m", "pip", "install", ".", "--no-build-isolation"],
@@ -62,6 +67,7 @@ async def pip_install(*targets: str) -> None:
6267
targets.append("--editable")
6368
targets.append(str(repo_dir))
6469
targets.append("tomli")
70+
targets.append("pathspec")
6571
await pip_install(*targets)
6672

6773
with open(venv.site_packages / "primer_plugin.pth", "w") as f:

0 commit comments

Comments
 (0)