forked from MinBZK/ai-validation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
44 lines (41 loc) · 1.31 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: no-commit-to-branch
- id: requirements-txt-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.41.0
hooks:
- id: markdownlint
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v8.8.2
hooks:
- id: cspell
args: [--no-must-find-files,
--quiet,
--show-suggestions,
--locale=en-US,
--exclude=.pre-commit-config.yaml,
--exclude=requirements.txt,
--exclude=.gitignore,
--exclude=mkdocs.yml,
--exclude=launch.json,
--exclude=dependabot.yml,
--exclude=security.txt,
--exclude=devcontainer.json,
--exclude=cspell.config.yaml,
--exclude=aivalidation_dictionary.txt
]
ci:
autofix_prs: false
autofix_commit_msg: 'Auto fix pre-commit.com hooks'
autoupdate_commit_msg: 'Update .pre-commit-config.yaml'