-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.pre-commit-config.yaml
34 lines (33 loc) · 989 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v1.2.3
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: autopep8-wrapper
exclude: '(?x)^(txdata/[^/]*/migrations/.*)$'
- id: check-ast
- id: check-json
- id: check-merge-conflict
- id: check-added-large-files
- id: check-yaml
- id: debug-statements
- id: requirements-txt-fixer
- repo: https://github.com/FalconSocial/pre-commit-python-sorter
rev: b57843b0b874df1d16eb0bef00b868792cb245c2
hooks:
- id: python-import-sorter
args:
- --diff
- repo: https://github.com/kouk/precommit-bad-mocks.git
rev: a987df4f34be2937b7c14847be173d216b80d2b1
hooks:
- id: nonexistent-mock-methods
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: 'v1.4.4' # Use the sha / tag you want to point at
hooks:
- id: autopep8
args:
- -i
- -r