You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Mypy Check
0.971
GitHub Action for mypy
Make sure you have a mypy.ini
or setup.cfg
file at the root of your repository!
Optional The path to run mypy on
Default "."
Optional Optional mypy flags (refer to mypy --help
)
Default ""
Optional Optional, if not empty: parameters to pass to pip install
before running mypy
Default ""
Optional Optional, if not empty: a file to pass to pip install -r
before running mypy
Default ""
Optional Optional, Python version to use
Default "3.10"
None
uses: jpetrucciani/mypy-check@master
# or specify a path!
uses: jpetrucciani/mypy-check@master
with:
path: '.'
# or specify additional mypy flags!
uses: jpetrucciani/mypy-check@master
with:
mypy_flags: '--config-file .mypy.ini'