-
-
Notifications
You must be signed in to change notification settings - Fork 541
Have the --colored default value be yes in the docs #2289
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
Have the --colored default value be yes in the docs #2289
Conversation
docs/conf.py
Outdated
nitpick_ignore = [] | ||
|
||
# Force --colored default value to be yes. | ||
os.environ["FORCE_COLOR"] = "yes" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you put the command to the right-hand side here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I do not understand what you mean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
os.environ["FORCE_COLOR"] = "yes" # ensure by default we documented colored
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see now (you wrote command instead of comment).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my bad 😆
Is the changelog fragment really needed here? |
We can ignore that now. |
4fdc116
to
4b52615
Compare
docs/conf.py
Outdated
nitpicky = True | ||
nitpick_ignore = [] | ||
|
||
os.environ["FORCE_COLOR"] = "yes" # Force --colored default value to be yes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you make the comment lowercase and remove the period? generally, I don't write it as a sentence unless there's multiple sentences
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure (I just tend to follow pep8 by default).
0bbf06e
to
b7a39d3
Compare
for more information, see https://pre-commit.ci
Fixes #2288.