mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-30 07:09:39 +03:00
mypy: Add script to run against all, and use in github/push-checks
This commit is contained in:
parent
99858116e5
commit
841ae2006e
4
.github/workflows/push-checks.yml
vendored
4
.github/workflows/push-checks.yml
vendored
@ -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
scripts/mypy-all.sh
Normal file
4
scripts/mypy-all.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
|
||||
mypy $(git ls-tree --full-tree -r --name-only HEAD | grep -E '\.py$')
|
Loading…
x
Reference in New Issue
Block a user