fsfe / reuse-tool

reuse is a tool for compliance with the REUSE recommendations.
https://reuse.software
412 stars 149 forks source link

`lint-file`: Add flags to operate correctly outside of projects #1068

Open carmenbianca opened 2 months ago

carmenbianca commented 2 months ago

1055 adds the reuse lint-file command, but it only works inside of the context of a Project as defined by the REUSE Specification. This means:

Any of these may be a dealbreaker for using lint-file in scripts, particularly the missing licenses check and the inability to lint ignored files. However, because the intended use-case of lint-file is pre-commit, this is not a dealbreaker for the intended audience. We can release without this.

In order to fix this issue, the following things should be added: