my.stackexchange: use proper pip package, add stat
+ 'anonymous' mode for stat() function
This commit is contained in:
parent
9d39892e75
commit
ddea816a49
6 changed files with 50 additions and 20 deletions
10
tox.ini
10
tox.ini
|
@ -47,25 +47,29 @@ whitelist_externals = bash
|
|||
commands =
|
||||
pip install -e .[testing] .[optional]
|
||||
pip install orgparse
|
||||
pip install git+https://github.com/karlicoss/endoexport
|
||||
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
|
||||
pip install git+https://github.com/karlicoss/endoexport
|
||||
pip install git+https://github.com/karlicoss/stexport
|
||||
|
||||
# ugh fuck. soo... need to reset HOME, otherwise user's site-packages are somehow leaking into mypy's path...
|
||||
# see https://github.com/python/mypy/blob/f6fb60ef69738cbfe2dfe56c747eca8f03735d8e/mypy/modulefinder.py#L487
|
||||
# this is particularly annoying when user's config is leaking and mypy isn't running against the repository config
|
||||
# maybe this issue... https://github.com/tox-dev/tox/issues/838
|
||||
# and also since it's Tox, we can't just set an env variable for a single command, have to spawn a subshell. jeez.
|
||||
# TODO fuck. -p my.github isn't checking the subpackages?? wtf...
|
||||
bash -c 'HOME= \
|
||||
python3 -m mypy -p my.github.ghexport \
|
||||
python3 -m mypy \
|
||||
-p my.endomondo \
|
||||
-p my.github.ghexport \
|
||||
-p my.hypothesis \
|
||||
-p my.instapaper \
|
||||
-p my.pocket \
|
||||
-p my.reddit \
|
||||
-p my.endomondo \
|
||||
-p my.stackexchange.stexport \
|
||||
-p my.body.exercise.cardio \
|
||||
-p my.body.exercise.cross_trainer \
|
||||
-p my.bluemaestro \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue