8000 ci(pre-commit): add blacken-docs hook · commitizen-tools/commitizen@c25dfb8 · GitHub
[go: up one dir, main page]

Skip to content

Commit c25dfb8

Browse files
committed
ci(pre-commit): add blacken-docs hook
1 parent 54e8ca5 commit c25dfb8

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ default_stages:
88
- push
99

1010
repos:
11+
- repo: meta
12+
hooks:
13+
- id: check-hooks-apply
14+
- id: check-useless-excludes
15+
1116
- repo: https://github.com/pre-commit/pre-commit-hooks
12-
rev: v4.1.0
17+
rev: v4.4.0
1318
hooks:
1419
- id: check-vcs-permalinks
1520
- id: end-of-file-fixer
@@ -18,6 +23,16 @@ repos:
1823
args: [--markdown-linebreak-ext=md]
1924
- id: debug-statements
2025
- id: no-commit-to-branch
26+
- id: check-merge-conflict
27+
- id: check-toml
28+
- id: check-yaml
29+
- id: detect-private-key
30+
31+
- repo: https://github.com/asottile/blacken-docs
32+
rev: 1.13.0
33+
hooks:
34+
- id: blacken-docs
35+
additional_dependencies: [black==22.10]
2136

2237
- repo: https://github.com/commitizen-tools/commitizen
2338
rev: v3.2.2 # automatically updated by Commitizen

0 commit comments

Comments
 (0)
0