-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
50 lines (43 loc) · 1.24 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
repos:
- repo: local
hooks:
- id: end-of-file-fixer
name: end-of-file-fixer
entry: poetry run end-of-file-fixer
language: system
types: [text]
- id: trailing-whitespace-fixer
name: trailing-whitespace-fixer
entry: poetry run trailing-whitespace-fixer
language: system
types: [text]
- id: check-yaml
name: check-yaml
entry: poetry run check-yaml
language: system
types: [yaml]
- id: check-toml
name: check-toml
entry: poetry run check-toml
language: system
types: [toml]
- id: check-shebang-scripts-are-executable
name: check-shebang-scripts-are-executable
entry: poetry run check-shebang-scripts-are-executable
language: system
types: [text]
- id: shellcheck
name: shellcheck
entry: poetry run shellcheck
language: system
types: [shell]
- id: ruff-check
name: ruff-check
entry: poetry run ruff check --fix
language: system
types: [python]
- id: ruff-format
name: ruff-format
entry: poetry run ruff format --force-exclude
language: system
types: [python]