You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't understand the point of running uv tool via pre-commit. This seems like adding layers upon layers of indirection.
pre-commit is already a tool designed to install hook in isolated environment, similarly to what uv tool does.
Adding the feature you ask for would mean that pre-commit will create a venv inside which uv is installed to create a venv to install the tool you ask for. Maybe you are looking for https://github.com/tox-dev/pre-commit-uv, this project uses uv to handle the python venv creation inside pre-commit.
For ruff, I would recommended the supported pre-commit hook:
I would like the ability to use
uv tool run ruff
with this! Especially ruff and mypy!The text was updated successfully, but these errors were encountered: