forked from wannier-developers/wannier90
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
45 lines (45 loc) · 960 Bytes
/
.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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-yaml
exclude: (?x)^(
docs/mkdocs.yml
)$
- id: check-yaml
name: check yaml unsafe
args: ['--unsafe']
files: (?x)^(
docs/mkdocs.yml
)$
- id: trailing-whitespace
files: (?x)^(
Makefile|
config/make[.]inc[.\w]*|
tutorials/tutorial\d\d[-]?\w*/.+win|
src/.+
)$
- id: end-of-file-fixer
files: (?x)^(
Makefile|
config/make[.]inc[.\w]*|
tutorials/tutorial\d\d[-]?\w*/.+win|
src/.+
)$
- repo: https://github.com/fortran-lang/fprettify
rev: v0.3.3
hooks:
- id: fprettify
args: ['--indent', '2']
exclude: (?x)^(
pwscf/.*
)$
verbose: true
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.12.1
hooks:
- id: markdownlint-cli2
args: ['--fix']
files: (?x)^(
docs/.*
)$