From bf0051ee634bbbcc8dd9dda80fff375b271a0d77 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 7 May 2024 15:42:32 -0400 Subject: [PATCH] Upgrade ruff pre-commit, add fixing checks --- .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 ]