forked from ZupIT/ritchie-formulas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
51 lines (45 loc) · 1.15 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
#https://pre-commit.com/hooks.html
exclude: \.github/.*|_vendor.*$
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
verbose: true
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: detect-private-key
- id: pretty-format-json
args:
- --autofix
- id: trailing-whitespace
- id: detect-private-key
# - id: flake8
# - id: check-ast
- id: end-of-file-fixer
# - repo: git://github.com/igorshubovych/markdownlint-cli
# rev: v0.22.0
# verbose: true
# hooks:
# - id: markdownlint
- repo: git://github.com/detailyang/pre-commit-shell
rev: 1.0.5
verbose: true
hooks:
- id: shell-lint
- repo: git://github.com/dnephin/pre-commit-golang
rev: v0.4.0
verbose: true
hooks:
- id: go-fmt
- id: go-imports
- repo: git://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.8.5
# - repo: git://github.com/macisamuele/language-formatters-pre-commit-hooks
# rev: v1.5.0
# hooks:
# - id: pretty-format-java
# args: [--autofix]