Skip to content

Commit d488274

Browse files
Added pre-commit hooks
1 parent 9516ce9 commit d488274

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Configuration for pre-commit hooks (see https://pre-commit.com/).
2+
3+
# Force all unspecified python hooks to run python 3.12
4+
default_language_version:
5+
python: python3.12
6+
7+
repos:
8+
- repo: https://github.com/pre-commit/pre-commit-hooks
9+
rev: v3.2.0
10+
hooks:
11+
- id: check-yaml
12+
args: [--unsafe]
13+
- id: end-of-file-fixer
14+
- id: trailing-whitespace
15+
exclude_types:
16+
- "markdown"
17+
- id: check-case-conflict

uv.lock

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)