Skip to content

Commit 5a5e6ec

Browse files
committed
Add mypy to GH Actions workflow
1 parent 54900d6 commit 5a5e6ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/autotest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,7 @@ jobs:
4040
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4141
- name: Format with black
4242
run: black --line-length=127 --check --diff .
43+
- name: Type check with mypy
44+
run: mypy --ignore-missing-imports --strict pittapi/
4345
- name: Run all tests with pytest
4446
run: pytest --cov=pittapi tests/

0 commit comments

Comments
 (0)