From 2e63bb6dcb7c72ee0ea716fc981de9e234bfce74 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Thu, 27 Oct 2022 17:32:52 -0400 Subject: [PATCH] Update hook id in README and in .pre-commit-config.yaml (#492) --- .pre-commit-config.yaml | 4 ++-- README.md | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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.