-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
97 lines (87 loc) · 2.01 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-symlinks
- id: debug-statements
- id: end-of-file-fixer
- id: fix-encoding-pragma
args:
- --remove
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.31.1
hooks:
- id: markdownlint-fix
exclude: |
(?x)^(
CHANGELOG.md
)$
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.2
hooks:
- id: prettier
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- id: yamllint
- repo: https://github.com/syntaqx/git-hooks
rev: v0.0.17
hooks:
- id: shellcheck
args: []
- id: shfmt
args:
- --write
- --simplify
- --list
- repo: local
hooks:
- id: autoflake
name: autoflake
entry: autoflake
language: system
types: [python]
args:
- --in-place
- id: black
name: black
entry: black
language: system
types: [python]
- id: flake8
name: flake8
entry: flake8
language: system
types: [python]
args:
- yascheduler
- id: isort
name: isort
entry: isort
language: system
types: [python]
- id: pylint-errors
name: pylint only errors
entry: pylint
language: system
types: [python]
require_serial: true
args:
- -E
- yascheduler
- id: pyupgrade
name: pyupgrade
entry: pyupgrade
language: system
types: [python]
args:
- --py38-plus
- --keep-percent-format