-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.pre-commit-config.yaml
56 lines (56 loc) · 1.71 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
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v1.2.3
hooks:
- id: check-json
- id: check-added-large-files
- id: check-yaml
- id: requirements-txt-fixer
- id: trailing-whitespace
language_version: python3.6
- id: end-of-file-fixer
language_version: python3.6
- id: autopep8-wrapper
language_version: python3.6
args:
- -i
- --ignore=E501
- id: check-docstring-first
language_version: python3.6
- id: debug-statements
language_version: python3.6
- id: double-quote-string-fixer
language_version: python3.6
- id: check-merge-conflict
language_version: python3.6
- id: check-ast
language_version: python3.6
- id: check-builtin-literals
language_version: python3.6
- id: check-byte-order-marker
language_version: python3.6
- id: name-tests-test
language_version: python3.6
- id: fix-encoding-pragma
language_version: python3.6
args:
- --remove
- id: flake8
language_version: python3.6
args:
- '-'
- --ignore=E501,E402,E722, F405
- repo: https://github.com/pre-commit/pre-commit
sha: 41dcaff3fb53fb7819a1d783d67a9ccb42464c1d
hooks:
- id: validate_config
- id: validate_manifest
- repo: https://github.com/asottile/reorder_python_imports
sha: 9aa4d08f9a28d3defc5e4db3c3b77d1a9980fd1a
hooks:
- id: reorder-python-imports
language_version: python3.6
- repo: https://github.com/pre-commit/mirrors-autopep8
sha: a59112ac7558236e411fd83a26551584ef8b928f
hooks:
- id: autopep8
language_version: python3.6