mypy: Add script to run against all, and use in github/push-checks

This commit is contained in:
Athanasius committed 2022-12-23 15:06:47 +00:00
1 parent 99858116e5
commit 841ae2006e
2 files changed
+8

No files matched your search

+4
View File
@@ -59,3 +59,7 @@ jobs:
grep -E -z -Z '\.py$' | \
xargs -0 flake8 --count --statistics --extend-ignore D
#######################################################################
- name: mypy type checks
run: |
./scripts/mypy-all.sh
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
#
mypy $(git ls-tree --full-tree -r --name-only HEAD | grep -E '\.py$')