-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
46 lines (41 loc) · 1.07 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
46 lines (41 loc) · 1.07 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
exclude: ^(theme|plugins|output)\/.+
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: check-case-conflict
- id: check-merge-conflict
- id: no-commit-to-branch
- id: check-yaml
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.13.10
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell
- repo: https://github.com/crate-ci/typos
rev: v1
hooks:
- id: typos
- repo: local
hooks:
- id: style-reformat
name: style-reformat
stages: [pre-commit]
language: system
pass_filenames: false
entry: uv run inv format
types: [python]
- id: style-check
name: style-check
stages: [pre-push]
language: system
pass_filenames: false
entry: uv run inv style
types: [python]