Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document PY_COLORS and TOX_SKIP_ENV inside --help #1009

Merged
merged 1 commit into from
Sep 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/163.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
document inside the ``--help`` how to disable colorized output via the ``PY_COLORS`` operating system environment variable - by :user:`gaborbernat`
2 changes: 2 additions & 0 deletions src/tox/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ def show_help(config):
tw.line()
tw.line("Environment variables", bold=True)
tw.line("TOXENV: comma separated list of environments (overridable by '-e')")
tw.line("TOX_SKIP_ENV: regular expression to filter down from running tox environments")
tw.line(
"TOX_TESTENV_PASSENV: space-separated list of extra environment variables to be "
"passed into test command environments"
)
tw.line("PY_COLORS: 0 disable colorized output, 1 enable (default)")


def show_help_ini(config):
Expand Down