-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.pre-commit-config.yaml
41 lines (41 loc) · 1.29 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
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v0.9.2
hooks:
- id: trailing-whitespace
language_version: python3.6
- id: end-of-file-fixer
language_version: python3.6
exclude: ^\.activate\.sh$
- id: autopep8-wrapper
language_version: python3.6
- id: check-docstring-first
language_version: python3.6
- id: check-executables-have-shebangs
language_version: python3.6
- id: check-merge-conflict
language_version: python3.6
- id: check-yaml
language_version: python3.6
- id: debug-statements
language_version: python3.6
- id: double-quote-string-fixer
language_version: python3.6
- id: name-tests-test
language_version: python3.6
- id: flake8
language_version: python3.6
- id: check-added-large-files
language_version: python3.6
exclude: ^\.activate\.sh$
- id: check-byte-order-marker
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
- repo: https://github.com/asottile/pyupgrade
sha: v1.2.0
hooks:
- id: pyupgrade
language_version: python3.6