From a4bee59aaef5eb96406f6c69ca71f98cee837e84 Mon Sep 17 00:00:00 2001 From: Raphael Boidol Date: Thu, 1 Jun 2023 22:41:53 +0200 Subject: [PATCH] Reorder commit hooks to reduce repeated failures --- .pre-commit-config.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c3409b..83addd8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,16 +40,17 @@ repos: - id: pretty-format-json args: [--autofix, --indent=4, --no-sort-keys] - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.270 - hooks: - - id: ruff - - repo: https://github.com/psf/black rev: 23.3.0 hooks: - id: black + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.0.270 + hooks: + - id: ruff + args: [--fix] + - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.3.0 hooks: