forked from thedrow/dependencies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
33 lines (33 loc) · 974 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: ''
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
- id: file-contents-sorter
files: ^(.gitignore|.python-version)$
- repo: https://github.com/asottile/pyupgrade
rev: ''
hooks:
- id: pyupgrade
args: [--keep-percent-format]
- repo: https://github.com/asottile/reorder_python_imports
rev: ''
hooks:
- id: reorder-python-imports
args: [--application-directories=.:src:tests/helpers]
exclude: migrations
# override until resolved:
# https://github.com/asottile/reorder_python_imports/issues/103
files: \.pyi?$
types: []
- repo: https://github.com/psf/black
rev: ''
hooks:
- id: black
exclude: migrations
# override until resolved: https://github.com/ambv/black/issues/402
files: \.pyi?$
types: []