Closed flaviojdz closed 2 years ago
Do you have your requirements listed in a requirements.txt
or something like that? Would an option to pip install -r
a file before running mypy be useful?
Yes, that would be useful, otherwise mypy fails for anything that has dependencies on non-stdlib packages.
The latest release (or @master
) should now support requirements
and requirements_file
as options!
- uses: jpetrucciani/mypy-check@master
with:
requirements_file: requirements.dev.txt
How do I approach solving this error? is there a way to trigger a pip install for extra mypy requirements?
mypy 0.910