-
Couldn't load subscription status.
- Fork 2.2k
Open
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality
Description
Summary
Some code review tools automatically hide files that contain the text @generated notably Phabricator, but I suspect there are others I'm not familiar with.
Examples:
- poetry Add @generated to poetry.lock for Phabricator support python-poetry/poetry#2034
- cargo Marking Cargo.lock as generated rust-lang/cargo#6180
- Java uses
@Generatedto mark code as generated so linters ignore it (this one isn't always file-wide) https://docs.oracle.com/javase/8/docs/api/javax/annotation/Generated.html
It would be nice if uv could add this string as a comment to its lockfile.
Example
An extra line such as:
# This file was @generated with uv version 1.2.3. Do not modify it by hand.
at the top of uv.lock.
jackrosenthal
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality