Skip to content

Commit e16f25b

Browse files
committed
Changed order of ruff actions in precommit, now format is the first because format action fix some linters errors like unsorted imports
1 parent 0fd8b3b commit e16f25b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ repos:
33
# Ruff version.
44
rev: v0.6.9
55
hooks:
6+
# Run the formatter.
7+
- id: ruff-format
68
# Run the linter.
79
- id: ruff
810
args: ["--fix", "--show-fixes"]
9-
# Run the formatter.
10-
- id: ruff-format
11+

0 commit comments

Comments
 (0)