Skip to content

Mypy Check

Actions
GitHub action to run mypy on your repository
1.14.1
Latest
Star (36)

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

requirements

Optional Optional, if not empty: parameters to pass to pip install before running mypy

Default ""

requirements_file

Optional Optional, if not empty: a file to pass to pip install -r before running mypy

Default ""

python_version

Optional Optional, Python version to use

Default "3.10"

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'

Mypy Check is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub action to run mypy on your repository
1.14.1
Latest

Mypy Check is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.