Skip to content

Commit 084c9e2

Browse files
committed
Add .pre-commit-config.yaml
1 parent 802278c commit 084c9e2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.pre-commit-config.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
ci:
2+
autofix_prs: false
3+
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.5.0
7+
hooks:
8+
- id: debug-statements
9+
- id: check-merge-conflict
10+
- id: check-toml
11+
- id: check-yaml
12+
- id: debug-statements
13+
- id: end-of-file-fixer
14+
- id: no-commit-to-branch
15+
args: [--branch, main]
16+
- id: trailing-whitespace
17+
18+
- repo: https://github.com/astral-sh/ruff-pre-commit
19+
rev: v0.2.2
20+
hooks:
21+
- id: ruff
22+
args: ["--fix", "--output-format=full"]
23+
- id: ruff-format

0 commit comments

Comments
 (0)