bhavyakaria / mypy-check

github action for python's mypy type checker tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mypy-check

GitHub Action for mypy

Make sure you have a mypy.ini or setup.cfg file at the root of your repository!

Inputs

path

Optional The path to run mypy on

Default "."

mypy_flags

Optional Optional mypy flags (refer to mypy --help)

Default ""

Outputs

None

Example usage

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'

About

github action for python's mypy type checker tool

License:MIT License


Languages

Language:Python 64.8%Language:Shell 19.2%Language:Dockerfile 16.0%