From 391a0c2b082bb3377878864d62ab9209b3eddf85 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Wed, 8 May 2024 09:57:36 -0400 Subject: [PATCH] MNT: Upgrade ruff pre-commit, add fixing checks (#3283) Should make life a little easier on @DimitriPapadopoulos :-). --- .pre-commit-config.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 816907f24..177fd90f3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,10 @@ repos: - id: check-toml - id: check-added-large-files - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.0 + rev: v0.4.3 hooks: - id: ruff + args: [ --fix ] - id: ruff-format + - id: ruff + args: [ --select, ISC001, --fix ]