Skip to content

Add a comment to the top of uv.lock files containing the string @generated #13878

@roganartu

Description

@roganartu

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions