Skip to content

Conversation

@roalter
Copy link

@roalter roalter commented May 5, 2025

Disable color output at all (when using CLICOLOR_FORCE) to make output of uv pip parseable.

Otherwise the output contains color code and cannot be parsed by the parser.

Purpose of This Pull Request

Please check the relevant option by placing an "X" inside the brackets:

  • Documentation update
  • Bug fix
  • New feature
  • Other (please explain):

Overview of Changes

This patch onle applies --color never to the uv call to avoid color escape codes when enforced with CLICOLOR_FORCE

Reviewer Focus

Only applies when using uv in the environment.

Additional Notes

Test with:

CLICOLORFORCE=1 licensecheck
CLICOLORFORCE=0 licensecheck

Disable color output at all (when using CLICOLOR_FORCE) to make output of uv pip parseable.
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.

1 participant