Skip to content

Commit 0484daa

Browse files
committed
Clean up 'color' environment variables.
The TOX_TESTENV_PASSENV hasn't been useful for some time and by its mere presence wasted a lot of time today under the assumption that it's doing something. Instead, just rely on one variable FORCE_COLOR. If it's not honored, then that should be the fix upstream.
1 parent f3dc1f4 commit 0484daa

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,8 @@ permissions:
66
contents: read
77

88
env:
9-
# Environment variables to support color support (jaraco/skeleton#66):
10-
# Request colored output from CLI tools supporting it. Different tools
11-
# interpret the value differently. For some, just being set is sufficient.
12-
# For others, it must be a non-zero integer. For yet others, being set
13-
# to a non-empty value is sufficient. For tox, it must be one of
14-
# <blank>, 0, 1, false, no, off, on, true, yes. The only enabling value
15-
# in common is "1".
9+
# Environment variable to support color support (jaraco/skeleton#66)
1610
FORCE_COLOR: 1
17-
# MyPy's color enforcement (must be a non-zero number)
18-
MYPY_FORCE_COLOR: -42
19-
# Recognized by the `py` package, dependency of `pytest` (must be "1")
20-
PY_COLORS: 1
21-
# Make tox-wrapped tools see color requests
22-
TOX_TESTENV_PASSENV: >-
23-
FORCE_COLOR
24-
MYPY_FORCE_COLOR
25-
NO_COLOR
26-
PY_COLORS
27-
PYTEST_THEME
28-
PYTEST_THEME_MODE
2911

3012
# Suppress noisy pip warnings
3113
PIP_DISABLE_PIP_VERSION_CHECK: 'true'

0 commit comments

Comments
 (0)