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

Drop crayons in exceptions.py #5080

Merged
merged 2 commits into from
Apr 24, 2022
Merged

Drop crayons in exceptions.py #5080

merged 2 commits into from
Apr 24, 2022

Conversation

oz123
Copy link
Contributor

@oz123 oz123 commented Apr 24, 2022

As discussed, we should remove crayons in favor of click.echo and click.secho.
click has a large user base and thus a better support across all major platform.
This PR is a test balloon. If it is merged, it allows us to carefully test that no drastic UI changes have
been introduced, without completely removing crayons.

Once we completely removed crayons, it's easy to fix #5057.

oz123 added 2 commits April 24, 2022 09:12
Replace all crayon color with appropriate `click.style`
calls.
@oz123 oz123 force-pushed the drop-crayons-in-exceptions branch from e56ca9c to f3bccf4 Compare April 24, 2022 07:14
@oz123 oz123 requested a review from matteius April 24, 2022 07:14
@oz123 oz123 merged commit b5c7c1e into main Apr 24, 2022
@oz123 oz123 deleted the drop-crayons-in-exceptions branch April 24, 2022 10:13
fraser-langton pushed a commit to fraser-langton/pipenv that referenced this pull request Apr 25, 2022
* Remove crayons usage from exceptions.py

Replace all crayon color with appropriate `click.style`
calls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Turn off color via PY_COLORS=0
2 participants