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

Add --nocolor and --forcecolor options #85

Merged
merged 3 commits into from Feb 25, 2018
Merged

Add --nocolor and --forcecolor options #85

merged 3 commits into from Feb 25, 2018

Conversation

theacodes
Copy link
Collaborator

@theacodes theacodes commented Feb 25, 2018

Default to nocolor when not running in a tty.

Resolves #78

docs/usage.rst Outdated

By default, Nox will output colorful logs if you're using in an interactive
terminal. However, if you are redirecting ``stderr`` to a file or otherwise
not using an interactive terminal, nox with output in plaintext.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/with/will

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

nox/logger.py Outdated
"""Setup logging.

Args:
color (bool): If true, the ouput will be colored using
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/ouput/output

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@theacodes theacodes merged commit f7a91e8 into master Feb 25, 2018
@theacodes theacodes deleted the add-nocolor branch February 25, 2018 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants