summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 01118451..97aa021f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -31,6 +31,9 @@ setenv =
# For some tests, we need .pyc files written in the current directory,
# so override any local setting.
PYTHONPYCACHEPREFIX=
+ # Cog'ing the --help output depends on the width of the terminal,
+ # so set it explicitly to avoid environmental interference
+ COLUMNS=80
commands =
# Create tests/zipmods.zip
@@ -74,7 +77,8 @@ deps =
-r requirements/lint.pip
setenv =
- LINTABLE = coverage tests doc ci igor.py setup.py __main__.py
+ {[testenv]setenv}
+ LINTABLE=coverage tests doc ci igor.py setup.py __main__.py
commands =
python -m tabnanny {env:LINTABLE}