Skip to content

Commit a3798a3

Browse files
authored
Fix install_cmd command for cwltool (hauntsaninja#195)
1 parent 5683f00 commit a3798a3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

mypy_primer/projects.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,12 @@ def get_projects() -> list[Project]:
11551155
location="https://github.com/common-workflow-language/cwltool",
11561156
mypy_cmd="MYPYPATH=$MYPYPATH:mypy-stubs {mypy} cwltool tests/*.py setup.py",
11571157
pyright_cmd=None,
1158-
install_cmd="{install} $(grep -v mypy mypy-requirements.txt) -r requirements.txt",
1158+
# TODO: could this just be the following?
1159+
# It would install mypy into the environment which is weird but would probably be fine?
1160+
# https://github.com/hauntsaninja/mypy_primer/pull/195#discussion_r2282164031
1161+
#
1162+
# install_cmd="{install} -r mypy-requirements.txt -r requirements.txt",
1163+
install_cmd="{install} $(grep -v -e 'mypy' -e ';' mypy-requirements.txt) -r requirements.txt",
11591164
expected_success=("mypy",),
11601165
cost={"mypy": 99},
11611166
supported_platforms=["linux", "darwin"],

0 commit comments

Comments
 (0)