reuse-tool icon indicating copy to clipboard operation
reuse-tool copied to clipboard

Forcing a comment style seems broken, support for Cargo.lock

Open bbastin opened this issue 7 months ago • 1 comments

Forcing a style with --style [style] seems to be broken in version 3.0.1. The error message informing me that a file type does not have a recognised file extension is the same whether this option is specified or not.

On another note, Cargo.lock files are currently not recognised (which is how I discovered the bug above). There was issue #390 that dealt with the topic, recommending either dot licenses or python-style comments. I would be open to implementing that, but there probably should be a discussion which of these styles should be used. Personally, I would prefer the in-file python style.

bbastin avatar Feb 02 '24 22:02 bbastin

Wrote a fix for this issue. I think this is a regression. I think I'll publish a patch release for this.

carmenbianca avatar Feb 14 '24 08:02 carmenbianca

I created #945 to discuss the Cargo.lock file support.

carmenbianca avatar Apr 08 '24 07:04 carmenbianca