Skip to content

Conversation

oz123
Copy link
Contributor

@oz123 oz123 commented Aug 26, 2023

Fix how format_help is used.
Because it uses click.echo color strings, one should not use console.print.

Fix #5869
Fix #5850

@oz123 oz123 requested a review from matteius August 26, 2023 08:27
el, el_copy = tee(el, 2)
for sub in unnest(el_copy):
yield sub
yield from unnest(el_copy)
Copy link
Member

Choose a reason for hiding this comment

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

I actually have a bigger refactor/simplification of this method in my open PR that will conflict with this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well. Then let's merge this with out caring for ruff. We'll fix ruff in the next PRs

@matteius matteius merged commit 60c8c97 into main Aug 26, 2023
@matteius matteius deleted the fix-5869-5850 branch August 26, 2023 11:54
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.

ANSI escape codes display in usage text pipenv cli without parameters show non-printable characters like [33m

2 participants