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
currently we setup our pre-commit specifying a revision for Ruff.
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit# Ruff version.rev: v0.8.0hooks:
# Run the linter.
- id: ruff# Run the formatter.
- id: ruff-format
This installs Ruff with version 0.8.0 and works very well. However, every time we upgrade our dependencies, we have to maintain different places where the Ruff version is defined.
We would like for pre-commit to use Ruff as-is found via PATH (either installed via Shell, or if installed in an isolated venv like with uv tool install).
The text was updated successfully, but these errors were encountered:
FCamborda
changed the title
Is there a way to use system Ruff?
Is there a way to use Ruff version from PATH?
Nov 22, 2024
Hi,
currently we setup our pre-commit specifying a revision for Ruff.
This installs Ruff with version 0.8.0 and works very well. However, every time we upgrade our dependencies, we have to maintain different places where the Ruff version is defined.
We would like for pre-commit to use Ruff as-is found via PATH (either installed via Shell, or if installed in an isolated venv like with
uv tool install
).The text was updated successfully, but these errors were encountered: