Skip to content

Commit 0e3ecd9

Browse files
committed
Enable the ruff formatter in pre-commit hooks
1 parent 68a1f24 commit 0e3ecd9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pre-commit-config.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ repos:
1717
hooks:
1818
- id: ruff
1919
stages: [ push, commit, manual ]
20+
# Run the formatter.
21+
- id: ruff-format
22+
stages: [ push, commit, manual ]
2023
- repo: https://github.com/pycqa/flake8
2124
rev: '7.0.0' # pick a git hash / tag to point to
2225
hooks:

0 commit comments

Comments
 (0)