-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
.pre-commit-config.yaml
62 lines (56 loc) · 1.6 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
---
repos:
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.33.0
hooks:
- id: yamllint
args: ["-c", ".yamllint", "-s"]
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black
args: [--line-length=88]
files: '(\.py)$'
language_version: python3
# - repo: https://github.com/PyCQA/flake8
# rev: 3.9.0
# hooks:
# - id: flake8
# # Harmonizing flake8 and black
# args: [--max-line-length=88]
# files: '(\.py)$'
- repo: https://github.com/igorshubovych/markdownlint-cli.git
rev: v0.38.0
hooks:
- id: markdownlint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: forbid-binary
exclude: ^(lib|conf/servers)/.*$
- id: git-check # Configure in .gitattributes
- id: markdownlint # Configure in .mdlrc
- id: require-ascii
- id: script-must-have-extension
- id: shellcheck
- id: shfmt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-builtin-literals
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-docstring-first
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: fix-encoding-pragma
- id: mixed-line-ending
- id: sort-simple-yaml
- id: trailing-whitespace