-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
47 lines (46 loc) · 1.06 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
default_install_hook_types:
- commit-msg
- pre-commit
- pre-push
repos:
- hooks:
- id: check-added-large-files
- id: trailing-whitespace
- id: check-ast
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-encoding-pragma
- id: trailing-whitespace
repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.3.0'
#- hooks:
# - id: markdownlint
# exclude: CHANGELOG.md
# repo: https://github.com/markdownlint/markdownlint
# rev: 'v0.12.0'
- hooks:
- id: commitizen
repo: https://github.com/commitizen-tools/commitizen
rev: 'v2.37.0'
- hooks:
- id: autopep8
repo: https://github.com/pre-commit/mirrors-autopep8
rev: 'v2.0.0'
- hooks:
- id: flake8
repo: https://github.com/PyCQA/flake8
rev: '5.0.4'
#- hooks:
# - id: mdformat
# exclude:
# - 'docs/src/api_doc.md'
# - CHANGELOG.md
# repo: https://github.com/executablebooks/mdformat
# rev: '0.7.16'
# # Dirty ...