Skip to content

Doesn't use the uv configuration in the project #78

@aaravind100

Description

@aaravind100

As per the title, pre-commit-uv does not use the uv configuration in the project directory for example the tool.uv.. configuration in pyproject.toml is ignored. Setting UV_PROJECT environment variable doesn't seem to work either.

Is there a way to do this currently?

I did try experimenting by adding the current working directory to the --project argument, which seem to work. Here is the diff.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions