Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

Mypy Check

0.920

Mypy Check

check-square

Mypy Check

GitHub action to run mypy on your repository

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Mypy Check

uses: jpetrucciani/mypy-check@0.920

Learn more about this action in jpetrucciani/mypy-check

Choose a version

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'