forked from saxix/django-concurrency
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
43 lines (42 loc) · 1007 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
40
41
42
43
exclude: '^$'
fail_fast: false
repos:
- repo: local
hooks:
- id: isort
args:
- -rc
- src/
- tests/
name: isort
entry: isort
language: system
types: [python]
- id: check-manifest
name: check-manifest
entry: check-manifest
language: system
types: [python]
files: '^$'
always_run: true
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v1.4.0
hooks:
- id: debug-statements
exclude: manage.py
- id: end-of-file-fixer
- id: flake8
exclude: docs/
args:
- src/
- tests/
- id: check-merge-conflict
- id: check-case-conflict
# - id: name-tests-test
# - id: trailing-whitespace
# - id: requirements-txt-fixer
# files: requirements-dev.txt
#- repo: git://github.com/asottile/reorder_python_imports
# rev: v1.0.1
# hooks:
# - id: reorder-python-imports