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: