diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-07-02 16:25:42 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-07-02 22:21:07 +0200 |
commit | 491fc4a35a69a0a1679276a0c207d107c0fabf58 (patch) | |
tree | cdfb59f1b8c818bc60c85ae36a561f062f7d6411 /tox.ini | |
parent | b9ea80ab576e22fa704a709251dcd08a3b453b97 (diff) | |
download | qutebrowser-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.ini | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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} |