Skip to content

Commit 00c3f00

Browse files
committedFeb 23, 2025·
fix: add precommit config
1 parent b285b10 commit 00c3f00

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
 

‎.pre-commit-config.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.3.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
- repo: https://github.com/psf/black
9+
rev: 22.10.0
10+
hooks:
11+
- id: black
12+
- repo: https://github.com/astral-sh/ruff-pre-commit
13+
# Ruff version.
14+
rev: v0.9.6
15+
hooks:
16+
# Run the linter.
17+
- id: ruff

0 commit comments

Comments
 (0)
Please sign in to comment.