Skip to content

Commit 3c2adc0

Browse files
authored
Merge pull request #790 from DHI/precommit
Add basic pre-commit
2 parents 94a84c5 + a44f94d commit 3c2adc0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
# Ruff version.
4+
rev: v0.8.6
5+
hooks:
6+
# Run the linter.
7+
- id: ruff
8+
# Run the formatter.
9+
- id: ruff-format

0 commit comments

Comments
 (0)