summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-07-02 16:25:42 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-07-02 22:21:07 +0200
commit491fc4a35a69a0a1679276a0c207d107c0fabf58 (patch)
treecdfb59f1b8c818bc60c85ae36a561f062f7d6411 /tox.ini
parentb9ea80ab576e22fa704a709251dcd08a3b453b97 (diff)
downloadqutebrowser-491fc4a35a69a0a1679276a0c207d107c0fabf58.tar.gz
qutebrowser-491fc4a35a69a0a1679276a0c207d107c0fabf58.zip
tox: Use "passenv = TERM" to get colors
TERM being missing was the reason that eslint doesn't output colors unless --color was given. For some reason, forcing color via --color breaks GitHub Action's problem matchers, while this approach works just fine.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index f8b258d7e..b74a8376c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -184,9 +184,10 @@ commands = {[testenv:pyinstaller]commands}
# the JavaScript environment easily.
basepython = python3
deps =
+passenv = TERM
whitelist_externals = eslint
changedir = {toxinidir}/qutebrowser/javascript
-commands = eslint --color --report-unused-disable-directives .
+commands = eslint --report-unused-disable-directives .
[testenv:mypy]
basepython = {env:PYTHON:python3}