Skip to content

Multiple calls to uv add --script shifts the inline metadata comment #6364

@dhruvmanila

Description

@dhruvmanila

Adding multiple dependencies using uv add --script test.py "..." would shift the inline metadata comment by one line. I guess there must be some extra newline which is being added before the comment.

It's best described by this short video:

Screen.Recording.2024-08-21.at.23.39.06.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions