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

Add support for uv.lock file

Open perillo opened this issue 9 months ago • 2 comments

Add support for uv.lock file. uv.lock file is uncommentable.

  • [x] Added a change log entry in changelog.d/<directory>/.
  • [x] Added self to copyright blurb of touched files.
  • [x] Added self to AUTHORS.rst.
  • [ ] Wrote tests.
  • [ ] Documented my changes in docs/man/ or elsewhere.
  • [x] My changes do not contradict the current specification.
  • [x] I agree to license my contribution under the licenses indicated in the changed files.

perillo avatar Mar 22 '25 16:03 perillo

Since the uv.lock is a toml file, maybe it should be commentable.

In addition to uv.lock file there is also the .python-version file. Maybe they should be added together.

perillo avatar Mar 22 '25 17:03 perillo

Sounds reasonable to me. Would you mind adding the other file and fixing the tests? Otherwise, if this is marked as ready, I would merge.

floriansnow avatar Jun 15 '25 09:06 floriansnow

Thanks @perillo

I will merge this as-is. It's a generated file, so comments written into the file might be overwritten.

carmenbianca avatar Oct 26 '25 10:10 carmenbianca