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