-
Notifications
You must be signed in to change notification settings - Fork 39
/
.pre-commit-config.yaml
63 lines (57 loc) · 1.63 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
---
repos:
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.1
hooks:
- id: yamllint
args: ["-c", ".yamllint", "-s"]
- repo: https://github.com/psf/black
rev: 20.8b1
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.27.1
hooks:
- id: markdownlint
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.5
hooks:
- id: forbid-binary
exclude: ^(lib|conf/servers)/.*$
- id: git-check # Configure in .gitattributes
- id: markdownlint # Configure in .mdlrc
- id: require-ascii
exclude: ^(README.md)$
- id: script-must-have-extension
- id: shellcheck
- id: shfmt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.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