CI: add mypy checks for my.reddit, my.pocket and my.github.ghexport

This commit is contained in:
Dima Gerasimov 2020-09-30 22:24:44 +01:00 committed by karlicoss
parent 0682919449
commit 1c20eb27aa
3 changed files with 20 additions and 4 deletions

10
tox.ini
View file

@ -31,11 +31,17 @@ setenv = MYPYPATH=doc/example_config
commands =
# TODO ugh. somehow, user installed (editable??) packages leak into this environment??
pip install -e .[testing] .[optional]
pip install git+https://github.com/karlicoss/ghexport
pip install git+https://github.com/karlicoss/hypexport
pip install git+https://github.com/karlicoss/instapexport
pip install git+https://github.com/karlicoss/pockexport
pip install git+https://github.com/karlicoss/rexport
# todo I guess use a script...
python3 -m mypy -p my.hypothesis \
-p my.instapaper \
python3 -m mypy -p my.github.ghexport \
-p my.hypothesis \
-p my.instapaper \
-p my.pocket \
-p my.reddit \
--txt-report .mypy-coverage \
--html-report .mypy-coverage \
{posargs}