-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
39 lines (37 loc) · 955 Bytes
/
.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
exclude: '^$'
fail_fast: false
repos:
- repo: https://github.com/asottile/seed-isort-config
rev: v1.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.4
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 18.6b4
hooks:
- id: black
language_version: python3.6
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.4.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-ast
- id: check-builtin-literals
- id: check-docstring-first
# - id: check-executables-have-shebangs # Doesn't work on windows
- id: check-merge-conflict
- id: check-json
- id: check-added-large-files
- id: check-yaml
# - id: double-quote-string-fixer
- id: debug-statements
- id: name-tests-test
args: ['--django']
- id: requirements-txt-fixer
# - id: flake8
- id: pretty-format-json
- id: sort-simple-yaml