-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy path.pre-commit-config.yaml
51 lines (50 loc) · 1.27 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
ci:
autofix_prs: false
autoupdate_branch: main
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
- id: cmake-format
name: cmake-format (templates)
types: [file]
files: \.cmake\.in$
- id: cmake-lint
- id: cmake-lint
name: cmake-lint (templates)
types: [file]
files: \.cmake\.in$
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/csachs/pyproject-flake8
rev: v7.0.0
hooks:
- id: pyproject-flake8
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.21 # Use the ref you want to point at
hooks:
- id: mdformat
# Optionally add plugins
additional_dependencies:
- mdformat-myst
- mdformat-black
- mdformat-config
- mdformat-tables
- mdformat-web