-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (36 loc) · 1.27 KB
/
.pre-commit-config.yaml
File metadata and controls
40 lines (36 loc) · 1.27 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks: # https://github.com/pre-commit/pre-commit-hooks/#hooks-available
- id: check-json
- id: check-toml
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/jackdewinter/pymarkdown
rev: v0.9.35
hooks:
- id: pymarkdown
args: [ # https://pymarkdown.readthedocs.io/en/latest/rules/
# disable: heading-increment, no-multiple-blanks, line-length, blanks-around-headings, no-duplicate-heading,
# single-h1, no-trailing-punctuation, ol-prefix, no-inline-html, first-line-h1
--disable, "md001,md012,md013,md022,md024,md025,md026,md029,md033,md041", scan
]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.9
hooks:
- id: ruff
- repo: https://github.com/adrienverge/yamllint
rev: v1.38.0
hooks:
- id: yamllint
args: # https://yamllint.readthedocs.io/en/stable/rules.html
- --config-data
- |
extends: default
rules:
comments: disable
document-start: disable
truthy: disable
line-length:
max: 120