LicenseCheck icon indicating copy to clipboard operation
LicenseCheck copied to clipboard

Feature: Exit non-zero with -0 on 'No packages'

Open davetapley opened this issue 3 weeks ago • 0 comments

Before You Begin

Before proceeding, please make sure to follow these steps:

  • [x] I have checked for similar feature requests in the project's issue tracker to avoid duplicates.
  • [x] I have searched existing issues to see if this feature has been discussed before.

Feature Details

If someone is using this package, presumably they have at least one package they want to check, so No packages probably indicates misconfiguration and exiting non-zero with -0 would be less surprising.

Is your feature request related to a problem? Please describe

I would have missed this if I hadn't 👀 on CI logs:

  • https://github.com/FHPythonUtils/LicenseCheck/issues/131

Describe the solution you'd like

Fail CI.

Describe alternatives you've considered

Manually 👀 on CI logs to check it actually ran 🤢

davetapley avatar Nov 12 '25 21:11 davetapley