Skip to content

Commit f4f4bf2

Browse files
committed
Changed order of manual ruff format , as it has to take precedence over the check
1 parent db83dbc commit f4f4bf2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ repos:
5555
hooks:
5656
# Run the formatter.
5757
- id: ruff-format
58-
args: [--diff]
59-
- id: ruff-format
58+
name: ruff format (with changes)
6059
stages: [manual]
60+
- id: ruff-format
61+
name: ruff format (check)
62+
args: [--diff]
6163
- repo: https://github.com/jmfernandez/pre-commit_mirrors-actionlint.git
6264
rev: v1.7.1
6365
hooks:

0 commit comments

Comments
 (0)