-
Notifications
You must be signed in to change notification settings - Fork 20
/
.pre-commit-config.yaml
115 lines (115 loc) · 2.9 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
repos:
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.3.3
hooks:
- id: prettier
types_or:
- toml
- css
- json
- json5
- yaml
- markdown
additional_dependencies:
- prettier
- prettier-plugin-toml
minimum_pre_commit_version: 2.9.0
exclude: ^locale
args:
- --cache
- --cache-location=.prettier-cache
- --ignore-path=.gitignore
- repo: https://github.com/mondeja/project-config
rev: v0.9.5
hooks:
- id: project-config
- repo: meta
hooks:
- id: check-hooks-apply
name: check-hooks-apply
- id: check-useless-excludes
name: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
name: trailing-whitespace
- id: end-of-file-fixer
name: end-of-file-fixer
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
hooks:
- id: check-github-workflows
name: check-github-workflows
args:
- --verbose
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
hooks:
- id: ruff
args:
- --fix
- --exit-non-zero-on-fix
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v2.0.4
hooks:
- id: autopep8
- repo: https://github.com/mondeja/mdpo
rev: v2.0.1
hooks:
- id: md2po2md
files: ^README\.md
args:
- -l
- es
- -l
- fr
- -o
- locale/{lang}
- --no-location
- repo: https://github.com/mondeja/pre-commit-po-hooks
rev: v1.7.3
hooks:
- id: obsolete-messages
- id: untranslated-messages
- id: remove-metadata
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
hooks:
- id: yamllint
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.13.0
hooks:
- id: markdownlint-cli2
name: markdownlint-readme
files: ^README.md
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.7.3
hooks:
- id: editorconfig-checker
name: editorconfig-checker
alias: ec
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
hooks:
- id: mypy
name: mypy-mkdocs-1.5.0
files: ^src
additional_dependencies:
- mkdocs>=1.5.0,<1.6.0
- platformdirs
- wcmatch
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
hooks:
- id: mypy
name: mypy-mkdocs-1.6.0
files: ^src
additional_dependencies:
- mkdocs>=1.6.0,<1.7.0
- platformdirs
- wcmatch
- repo: https://github.com/mondeja/rust-pc-hooks
rev: v1.3.0
hooks:
- id: lychee