Quoting Blair Noctis (2024-07-13 15:17:16)
What is sensible varies.
You describe a "sloppy" use case of licensecheck, where silently
skipping non-source files is sensible.
For other "strict" use cases, it is not sensible to silently skip files.
This bugreport seems to be a variant of bug#960694 and bug#960695, and
(without bug#960695 solved) contradicts with bug#526701.
To not cause unpleasant surprises for "strict" use cases, fixing this
will need to be tied to a usage profile, i.e. bug#960695.
Thanks for reporting,
- Jonas