From 34cc01a271d32ca14d59ba1ece859319103fd659 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 25 Jul 2023 09:43:05 +0200 Subject: [PATCH] Backport PR #2573: [pre-commit.ci] pre-commit autoupdate --- .pre-commit-config.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 355aaaa08f..adff2ca121 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,15 +3,11 @@ repos: rev: 22.3.0 hooks: - id: black -- repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.0.280 hooks: - - id: flake8 -- repo: https://github.com/pre-commit/mirrors-autopep8 - rev: v1.6.0 - hooks: - - id: autopep8 - args: ["-i"] + - id: ruff + args: ["--fix"] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.1.0 hooks: