Skip to content

Commit

Permalink
Run mypy as part of the github check.
Browse files Browse the repository at this point in the history
Part of #160.
  • Loading branch information
DanAlbert authored and rp- committed Jul 9, 2021
1 parent 69377a0 commit 2b4eb8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
flake8 . --count --max-complexity=10 --max-line-length=127 --statistics --ignore=C901,W503 \
--extend-exclude=tests/,doc/,tools/,dcs/helicopters.py,dcs/planes.py,dcs/statics.py,dcs/ships.py,dcs/weapons_data.py,dcs/vehicles.py \
--per-file-ignores="__init__.py:F401 syria.py:E126 thechannel.py:E126 persiangulf.py:E126 normandy.py:E126 nevada.py:E126 caucasus.py:E126 marianaislands.py:E126 dcs/lua/test_parse.py:E501"
- name: Type checking
run: |
pip install mypy
mypy dcs
- name: Test with pytest
run: |
python setup.py test

0 comments on commit 2b4eb8b

Please sign in to comment.