diff options
author | Bernát Gábor <bgabor8@bloomberg.net> | 2021-01-08 10:36:02 +0000 |
---|---|---|
committer | Bernát Gábor <bgabor8@bloomberg.net> | 2021-01-08 12:04:41 +0000 |
commit | 0a77b615fae2ceff28b852f9b7969ec458e1519c (patch) | |
tree | 2fca1ab52f6181672aeb6584bf9e250a64b13c0b /tox.ini | |
parent | 83cfbb13d7d2e3ff1a82b7e7cb258939b33914da (diff) | |
download | tox-git-0a77b615fae2ceff28b852f9b7969ec458e1519c.tar.gz |
Add tty replacer
This allows users to force isatty until we fix
https://github.com/tox-dev/tox/issues/1773.
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,7 +26,7 @@ setenv = extras = testing commands = - pytest {posargs: \ + pytest {tty:--color=yes} {posargs: \ --junitxml {toxworkdir}/junit.{envname}.xml --cov {envsitepackagesdir}/tox --cov {toxinidir}/tests \ --cov-config=setup.cfg --no-cov-on-fail --cov-report term-missing:skip-covered --cov-context=test \ --cov-report html:{envtmpdir}/htmlcov \ @@ -49,6 +49,7 @@ commands = [testenv:type] description = run type check on code base +setenv = {tty:MYPY_FORCE_COLOR = 1} deps = mypy==0.790 commands = |