-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pre-commit-config.yaml
46 lines (46 loc) · 1.5 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
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v0.9.4
hooks:
- id: trailing-whitespace
exclude: (node_modules|vendor|docs)
language_version: python3.6
- id: end-of-file-fixer
exclude: (node_modules|vendor|docs)
language_version: python3.6
- id: autopep8-wrapper
args:
- --in-place
exclude: (node_modules|vendor|docs)
language_version: python3.6
- id: check-yaml
exclude: (node_modules|vendor|docs)
language_version: python3.6
- id: debug-statements
exclude: (node_modules|vendor|docs)
language_version: python3.6
- id: flake8
exclude: (node_modules|vendor|docs)
language_version: python3.6
- id: check-byte-order-marker
exclude: (node_modules|vendor|docs)
language_version: python3.6
- id: fix-encoding-pragma
exclude: (node_modules|vendor|docs)
language_version: python3.6
args:
- --remove
- id: check-added-large-files
exclude: (node_modules|vendor|docs)
language_version: python3.6
- repo: https://github.com/asottile/reorder_python_imports
sha: v0.3.5
hooks:
- id: reorder-python-imports
language_version: python3.6
args:
- --remove-import
- from __future__ import absolute_import
- --remove-import
- from __future__ import print_function
- --remove-import
- from __future__ import unicode_literals