You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tox --showconfig only shows the env_list environments, but its help says "by default all env" #4538
The help text of the legacy --showconfig flag says:
--showconfig show live configuration (by default all env, with -l only default targets, specific via TOXENV/-e) (default: False)
In tox 4, tox --showconfig without -e only shows the environments in env_list, the same as with -l. An environment that is defined in the configuration but not listed in env_list is left out. To get all of them you need -e ALL.
tox 3 behaved as the help text says (the text comes from the 3.11.0 --showconfig overhaul, #1298): no -e meant all defined environments, and -l limited the output to the default targets. So either the legacy command should select all environments when no -e/TOXENV is given, or the help text should be updated to say it shows env_list by default (and drop the -l part, which no longer changes anything here).
The flag is defined in src/tox/session/cmd/legacy.py (tox_add_option); legacy() sets show_core and the output options but keeps the default env selection, so show_config gets the env_list environments.
Environment
OS: macOS (Darwin 25.6.0)
Python 3.13.15
tox 4.67.17 (PyPI) and main at 72a3455 (4.67.18.dev47+g72a3455d8), same result
Output of pip list of the host Python, where tox is installed
Activity