-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
47 lines (41 loc) · 1.24 KB
/
.pre-commit-config.yaml
File metadata and controls
47 lines (41 loc) · 1.24 KB
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
44
45
46
47
- repo: local
hooks:
- id: isort
name: isort
entry: venv/bin/isort -rc --atomic djangosqs/apps
language: system
types: [python]
- id: trailing-whitespace
name: Trim Trailing Space
entry: venv/bin/trailing-whitespace-fixer
language: system
types: [non-executable, file, text]
exclude_types: [svg]
- id: flake8
name: Flake8
entry: venv/bin/flake8
language: system
types: [python]
- id: black
name: black
entry: venv/bin/black
language: system
types: [python]
- id: end-of-file-fixer
name: Fix End of Files
description: Ensures that a file is either empty, or ends with one newline.
entry: venv/bin/end-of-file-fixer
language: system
types: [non-executable, file, text]
exclude_types: [svg]
- id: check-merge-conflict
name: Check for merge conflicts
description: Check for files that contain merge conflict strings.
entry: venv/bin/check-merge-conflict
language: system
stages: [push]
- id: mypy
name: mypy
entry: venv/bin/mypy
language: system
types: [python]