Skip to content

Commit 8725f1a

Browse files
authored
Merge pull request #81 from cclauss/mypy
GitHub Action to run mypy on Python type hints
2 parents 198f71e + 399724a commit 8725f1a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/mypy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: mypy
2+
on: [pull_request, push]
3+
jobs:
4+
mypy:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-python@v2
9+
- run: pip install mypy
10+
- run: pip install -r requirements.txt
11+
- run: mkdir --parents --verbose .mypy_cache
12+
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true

0 commit comments

Comments
 (0)