get rid of unnecessary .init imports

This commit is contained in:
Dima Gerasimov 2020-05-06 22:05:16 +01:00
parent 069732600c
commit 9d5d368891
13 changed files with 5 additions and 28 deletions

View file

@ -9,10 +9,10 @@ passenv = CI CI_*
setenv = MY_CONFIG = nonexistent
commands =
pip install -e .[testing]
# TODO ??
# python -m pytest {posargs}
python3 -c 'import my.init; from my.config import stub as config; print(config.key)'
python3 -c 'import my.init; import my.config; import my.config.repos' # shouldn't fail at least
# todo these are probably not necessary anymore?
python3 -c 'from my.config import stub as config; print(config.key)'
python3 -c 'import my.config; import my.config.repos' # shouldn't fail at least
python3 -m pytest tests/misc.py tests/get_files.py tests/config.py::test_set_repo tests/config.py::test_environment_variable
# TODO add; once I figure out porg depdencency?? tests/config.py
# TODO run demo.py? just make sure with_my is a bit cleverer?