-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
65 lines (64 loc) · 1.77 KB
/
.pre-commit-config.yaml
File metadata and controls
65 lines (64 loc) · 1.77 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
exclude: ^(?:\.pixi)(/|$)
repos:
- repo: local
hooks:
- id: docformatter
name: docformatter
entry: docformatter -i
language: system
types: [python]
- id: ruff
name: ruff
entry: ruff check --fix --exit-non-zero-on-fix --force-exclude
language: system
types_or: [python, pyi]
require_serial: true
- id: ruff-format
name: ruff-format
entry: ruff format --force-exclude
language: system
types_or: [python, pyi]
require_serial: true
- id: mypy
name: mypy
entry: mypy
language: system
types: [python]
require_serial: true
- id: prettier
name: prettier
entry: prettier --write --list-different --ignore-unknown
language: system
types: [text]
files: \.(md|yml|yaml)$
- id: prettier-html-website
name: prettier-html-website
entry: prettier --write --list-different
language: system
files: ^website/.*\.(html|css|js)$
- id: taplo
name: taplo
entry: taplo format
language: system
types: [toml]
- id: trailing-whitespace-fixer
name: trailing-whitespace-fixer
entry: trailing-whitespace-fixer
language: system
types: [text]
- id: end-of-file-fixer
name: end-of-file-fixer
entry: end-of-file-fixer
language: system
types: [text]
- id: check-merge-conflict
name: check-merge-conflict
entry: check-merge-conflict --assume-in-merge
language: system
types: [text]
- id: typos
name: typos
entry: typos --force-exclude
language: system
types: [text]
require_serial: true