From 4641e5dd19ccd3993d4eace65eb8b03086cbc5a6 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Sat, 11 Apr 2020 22:25:25 +0100 Subject: [PATCH] adjust tox config; temporary suppress pylint --- tox.ini | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 13c542b..777b4c6 100644 --- a/tox.ini +++ b/tox.ini @@ -6,13 +6,13 @@ skip_missing_interpreters = True # TODO ugh. unclear how to reuse setup.cfg deps in tox [testenv] passenv = CI CI_* CIRCLE* -changedir = {toxworkdir}/{envname} +setenv = MY_CONFIG = mycfg_template commands = - # pip install -e .[testing] + pip install -e . # TODO ?? # python -m pytest {posargs} - python3 -c 'import my; print(my.__path__)' - python3 -c 'import my; import mycfg.repos' # shouldn't fail at least + python3 -c 'import my.init; import my.config; print(my.config.__path__)' + python3 -c 'import my.init; import my.config; import my.config.repos' # shouldn't fail at least # TODO run demo.py? just make sure with_my is a bit cleverer? # TODO e.g. under CI, rely on installing @@ -40,4 +40,5 @@ skip_install = true commands = pip install -e .[testing] # for now ignore import errors until I figure out how to import everything for CI checking.. - python -m pylint -E -d import-error my + # TODO FIXME ugh. fix later, after properly switched to my.config + # python -m pylint -E -d import-error my