general/ci: clean up mypy-misc pipeline, only exclude specific files instead

marked some module configs which aren't really ready for public use as type: ignore
This commit is contained in:
Dima Gerasimov 2023-02-20 23:40:13 +00:00 committed by karlicoss
parent eff9c02886
commit c63177e186
15 changed files with 132 additions and 64 deletions

79
tox.ini
View file

@ -96,57 +96,38 @@ commands =
pip install -e .[testing,optional]
hpi module install --parallel \
my.browser.export \
my.orgmode \
my.endomondo \
my.github.ghexport \
my.hypothesis \
my.instapaper \
my.pocket \
my.reddit.rexport \
my.reddit.pushshift \
my.stackexchange.stexport \
my.tinder.android \
my.pinboard \
my.arbtt \
my.coding.commits \
my.goodreads \
my.pdfs \
my.smscalls \
my.location.gpslogger \
my.location.via_ip \
my.google.takeout.parser
my.arbtt \
my.coding.commits \
my.browser.export \
my.github.ghexport \
my.emfit \
my.endomondo \
my.fbmessenger.export \
my.goodreads \
my.google.takeout.parser \
my.orgmode \
my.hypothesis \
my.instapaper \
my.kobo \
my.location.gpslogger \
my.location.via_ip \
my.pdfs \
my.pinboard \
my.pocket \
my.reddit.pushshift \
my.reddit.rexport \
my.rescuetime \
my.runnerup \
my.stackexchange.stexport \
my.smscalls \
my.tinder.android
# todo fuck. -p my.github isn't checking the subpackages?? wtf...
# guess it wants .pyi file??
{envpython} -m mypy --install-types --non-interactive \
-p my.browser \
-p my.endomondo \
-p my.github.ghexport \
-p my.github.gdpr \
-p my.hypothesis \
-p my.instapaper \
-p my.pocket \
-p my.smscalls \
-p my.reddit \
-p my.stackexchange.stexport \
-p my.pinboard \
-p my.body.exercise.cardio \
-p my.body.exercise.cross_trainer \
-p my.bluemaestro \
-p my.location.google \
-p my.location.google_takeout \
-p my.location.via_ip \
-p my.location.gpslogger \
-p my.ip.common \
-p my.time.tz.via_location \
-p my.calendar.holidays \
-p my.arbtt \
-p my.coding.commits \
-p my.goodreads \
-p my.pdfs \
-p my.bumble.android \
-p my.tinder.android \
-p my \
--exclude 'my/coding/codeforces.py' \
--exclude 'my/coding/topcoder.py' \
--exclude 'my/jawbone/.*' \
--txt-report .coverage.mypy-misc \
--html-report .coverage.mypy-misc \
{posargs}