diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 85394cf365..2a4980c86c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,8 +1,8 @@ repos: - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.40 + rev: v0.0.86 hooks: - - id: lint + - id: ruff - repo: https://github.com/abravalheri/validate-pyproject rev: v0.10.1 diff --git a/README.md b/README.md index d609d7c103..d0d4aeb5e9 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,9 @@ repos: - id: ruff ``` + +_Note: prior to `v0.0.86`, `ruff-pre-commit` used `lint` (rather than `ruff`) as the hook ID._ + ## Configuration Ruff is configurable both via `pyproject.toml` and the command line.