LicenseCheck icon indicating copy to clipboard operation
LicenseCheck copied to clipboard

fix: color update on enforced envs

Open roalter opened this issue 9 months ago • 0 comments

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
  • [X] 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

roalter avatar May 05 '25 09:05 roalter