-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.pre-commit-config.yaml
63 lines (63 loc) · 1.55 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
52
53
54
55
56
57
58
59
60
61
62
63
exclude: ^(\.vscode/.+)$
repos:
- repo: https://github.com/hugoh/pre-commit-fish
rev: v1.2
hooks:
- id: fish_syntax
- id: fish_indent
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.44.0
hooks:
- id: markdownlint
args: [--fix, --disable=MD041]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: [--maxkb=50]
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: debug-statements
- id: destroyed-symlinks
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: fix-encoding-pragma
- id: mixed-line-ending
- id: name-tests-test
- id: trailing-whitespace
- repo: https://github.com/pycqa/flake8
rev: '7.1.1'
hooks:
- id: flake8
- repo: local
hooks:
- id: supported-versions-check
name: Supported versions check
entry: ./ops/supported-versions-check.fish
language: script
pass_filenames: false
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.0.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: local
hooks:
- id: bump-version
name: Bump version
entry: ./ops/bump-version.fish
language: script
stages: [post-commit]
always_run: true
ci:
autofix_commit_msg: 'style: modified by hook'
autoupdate_commit_msg: 'ci: pre-commit autoupdate'
skip:
- fish_indent
- fish_syntax
- bump-version
- supported-versions-check