-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
61 lines (61 loc) · 1.85 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
- repo: git@github.com:pre-commit/pre-commit-hooks
sha: master
hooks:
- id: detect-private-key
files: ^(?!\.?git-crypt)
- id: check-merge-conflict
- id: trailing-whitespace
files: ^tf|-|\.(py|tfvars|tf|tfenv|env|yml|yaml|pem|key|mock)$
- id: end-of-file-fixer
files: ^tf|-|\.(py|tfvars|tf|tfenv|env|yml|yaml|pem|key|mock)$
- id: check-added-large-files
- id: check-case-conflict
- id: check-json
- id: check-xml
- id: check-yaml
- id: check-case-conflict
- id: check-ast
- id: debug-statements
- id: autopep8-wrapper
args:
- -i
- --ignore=E501
- id: double-quote-string-fixer
- id: check-docstring-first
- id: pretty-format-json
- id: debug-statements
- id: requirements-txt-fixer
- id: name-tests-test
- repo: git://github.com/dgnest/mirrors-pylint
sha: eb20a4b9bbfe24ec8641f63214e2a7de25399796
hooks:
- id: pylint
args:
- --rcfile=pylint.rc
- repo: git://github.com/pre-commit/mirrors-scss-lint
sha: master
hooks:
- id: scss-lint
files: \.(scss)$
# - repo: git://github.com/FalconSocial/pre-commit-mirrors-pep257
# sha: v0.3.2
# hooks:
# - id: pep257
# args:
# - --ignore=migrations
- repo: git@github.com:pre-commit/pre-commit
sha: 3d90b094fccf0ba5d811a0fdc876e987c2437b1c
hooks:
- id: validate_config
- id: validate_manifest
- repo: git://github.com/FalconSocial/pre-commit-python-sorter
sha: 934072fb29303aaa64bead610be042049e9db488
hooks:
- id: python-import-sorter
args:
- --silent-overwrite
# - repo: git://github.com/pre-commit/mirrors-eslint
# sha: 'master' # Use the sha you want to point at
# hooks:
# - id: eslint
# language_version: 4.2.1