Skip to content

Commit 1470dcd

Browse files
authored
chore(pre-commit): add --fix flag to ruff (#474)
1 parent 96726a2 commit 1470dcd

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ repos:
77
- id: reuse-lint-file
88

99
- repo: https://github.com/astral-sh/ruff-pre-commit
10-
# Ruff version.
11-
rev: v0.15.0
10+
rev: v0.15.12
1211
hooks:
13-
# Run the linter.
14-
- id: ruff-check
15-
# Run the formatter.
16-
- id: ruff-format
12+
- id: ruff-check # linter
13+
args: [--fix]
14+
- id: ruff-format # formatter

0 commit comments

Comments
 (0)