my.body.exercise: add more annotations & ci check

This commit is contained in:
Dima Gerasimov 2020-10-03 15:10:10 +01:00 committed by karlicoss
parent 06ee72bc30
commit e63c159b80
4 changed files with 31 additions and 25 deletions

21
tox.ini
View file

@ -37,15 +37,20 @@ commands =
pip install git+https://github.com/karlicoss/pockexport
pip install git+https://github.com/karlicoss/rexport
pip install git+https://github.com/karlicoss/endoexport
pip install git+https://github.com/karlicoss/porg
# todo I guess use a script...
python3 -m mypy -p my.github.ghexport \
-p my.hypothesis \
-p my.instapaper \
-p my.pocket \
-p my.reddit \
-p my.endomondo \
--txt-report .mypy-coverage \
--html-report .mypy-coverage \
python3 -m mypy -p my.github.ghexport \
-p my.hypothesis \
-p my.instapaper \
-p my.pocket \
-p my.reddit \
-p my.endomondo \
-p my.body.exercise.cardio \
-p my.body.exercise.cross_trainer \
--txt-report .mypy-coverage \
--html-report .mypy-coverage \
{posargs}
# txt report is a bit more convenient to view on CI