PYTHON-5302 - Run ruff before synchro in pre-commit hooks (#2274)
This commit is contained in:
parent
cce4a0d179
commit
7a0afcf0b9
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user