Skip to content

Commit 7530007

Browse files
authored
feat: 🔨 add Ruff to pre-commit hooks (#311)
1 parent 6d5da8f commit 7530007

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

template/.pre-commit-config.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,14 @@ repos:
3131
- repo: https://github.com/rvben/rumdl-pre-commit
3232
rev: v0.1.94
3333
hooks:
34-
- id: rumdl-fmt # Auto-format
34+
- id: rumdl-fmt
35+
36+
- repo: https://github.com/astral-sh/ruff-pre-commit
37+
# Ruff version.
38+
rev: v0.15.16
39+
hooks:
40+
# Run the linter.
41+
- id: ruff-check
42+
args: [--fix]
43+
# Run the formatter.
44+
- id: ruff-format

0 commit comments

Comments
 (0)