Skip to content

Commit 6e7c40a

Browse files
committed
Create .pre-commit-config.yaml
1 parent 115de1f commit 6e7c40a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.pre-commit-config.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: requirements-txt-fixer
8+
exclude: ^/ui/
9+
10+
11+
- repo: https://github.com/astral-sh/ruff-pre-commit
12+
rev: v0.6.4
13+
hooks:
14+
- id: ruff-format
15+
exclude: ^/ui/
16+
- id: ruff
17+
args: [--fix, --ignore=E402]
18+
exclude: ^/ui/
19+
20+
21+
- repo: https://github.com/mgedmin/check-manifest
22+
rev: "0.49"
23+
hooks:
24+
- id: check-manifest
25+
stages: [manual]
26+
exclude: ^/ui/

0 commit comments

Comments
 (0)