From 0755252068658fd9c880779a9821b16be30d3fc7 Mon Sep 17 00:00:00 2001 From: Gareth Latty Date: Fri, 1 Nov 2019 13:14:36 +0000 Subject: [PATCH] Add GitHub action to do MyPy type check. --- .github/workflows/typecheck.yml | 12 ++++++++++++ .gitignore | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/typecheck.yml diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml new file mode 100644 index 0000000..21cfba8 --- /dev/null +++ b/.github/workflows/typecheck.yml @@ -0,0 +1,12 @@ +name: MyPy Check + +on: [push, pull_request] + +jobs: + typecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: jpetrucciani/mypy-check@0.730 + with: + path: '-punrpa' diff --git a/.gitignore b/.gitignore index a0f4ff0..33ed98a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ __pycache__ .idea dist/ build -*.egg-info \ No newline at end of file +*.egg-info +.mypy_cache \ No newline at end of file