From 73ffd0cbd30249ee3bca60146318e5dd9ce1a7fb Mon Sep 17 00:00:00 2001 From: Noah Stapp Date: Wed, 9 Apr 2025 16:58:57 -0400 Subject: [PATCH] PYTHON-5302 - Run ruff before synchro in pre-commit hooks --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a570e55ad1..6c5fa764b9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,14 @@ repos: exclude: .patch exclude_types: [json] +- repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.1.3 + hooks: + - id: ruff + args: ["--fix", "--show-fixes"] + - id: ruff-format + - repo: local hooks: - id: synchro @@ -30,14 +38,6 @@ repos: - ruff==0.1.3 - unasync -- repo: https://github.com/astral-sh/ruff-pre-commit - # Ruff version. - rev: v0.1.3 - hooks: - - id: ruff - args: ["--fix", "--show-fixes"] - - id: ruff-format - - repo: https://github.com/adamchainz/blacken-docs rev: "1.16.0" hooks: