Skip to content

Commit 8a63cb1

Browse files
authored
Update .pre-commit-config.yaml
1 parent ed03e8c commit 8a63cb1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

{{cookiecutter.project_name}}/.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ repos:
3939
hooks:
4040
- id: shellcheck
4141
args: ["--severity=style"]
42+
- repo: https://github.com/astral-sh/ruff-pre-commit
43+
rev: v0.11.13
44+
hooks:
45+
- id: ruff
46+
args: ["--exit-non-zero-on-fix"]
47+
- id: ruff-format
4248

4349
# Should be the last:
4450
- repo: meta

0 commit comments

Comments
 (0)