Add mypy to github actions so we stop regressing.

This commit is contained in:
Dan Albert 2020-10-24 01:18:29 -07:00
parent 0f1d2b8685
commit 04d3ba4c47
3 changed files with 10 additions and 2 deletions

View File

@ -30,6 +30,9 @@ jobs:
- name: Build binaries - name: Build binaries
run: | run: |
./venv/scripts/activate ./venv/scripts/activate
mypy game
mypy gen
mypy theater
$env:PYTHONPATH=".;./pydcs" $env:PYTHONPATH=".;./pydcs"
pyinstaller pyinstaller.spec pyinstaller pyinstaller.spec

View File

@ -32,6 +32,9 @@ jobs:
- name: Build binaries - name: Build binaries
run: | run: |
./venv/scripts/activate ./venv/scripts/activate
mypy game
mypy gen
mypy theater
$env:PYTHONPATH=".;./pydcs" $env:PYTHONPATH=".;./pydcs"
pyinstaller pyinstaller.spec pyinstaller pyinstaller.spec

View File

@ -1,7 +1,9 @@
#pydcs>=0.9.10
Pyside2>=5.13.0 Pyside2>=5.13.0
pyinstaller==3.6 pyinstaller==3.6
pyproj==2.6.1.post1 pyproj==2.6.1.post1
Pillow~=7.2.0 Pillow~=7.2.0
tabulate~=0.8.7 tabulate~=0.8.7
mypy==0.782
mypy-extensions==0.4.3