-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
42 lines (41 loc) · 1.14 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
42
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: debug-statements
- id: check-symlinks
- id: detect-private-key
- id: fix-byte-order-marker
- repo: local
hooks:
- id: isort
name: isort-local
entry: isort
language: python
types: [python]
exclude: .+/(settings|migrations)/.+
pass_filenames: true
- id: black
name: black-local
entry: black
language: python
types: [python]
exclude: .+/(settings|migrations)/.+
pass_filenames: true
- id: missing-migrations
name: missing-migrations-local
entry: python manage.py makemigrations --check --dry-run
language: system
always_run: true
pass_filenames: false
- id: prospector
name: prospector-local
entry: prospector --messages-only
language: python
types: [python]
exclude: .+/(settings|migrations)/.+
pass_filenames: true