Skip to content

Allow uv format in unmanaged projects #15550

@zanieb

Description

@zanieb

e.g., from the uv repository

❯ echo "x   = 1" > foo.py
❯ uv format -- foo.py
warning: `uv format` is experimental and may change without warning. Pass `--preview-features format` to disable this warning.
error: The project is marked as unmanaged: `/Users/zb/workspace/.worktrees/uv/zb-lock-bin-install`

We should definitely allow this. I presume it regressed in #15438 or #15440

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpreviewExperimental behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions