forked from escaped/django-inline-actions
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.pre-commit-config.yaml
41 lines (37 loc) · 885 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
---
repos:
- repo: local
hooks:
- id: black
name: black
language: system
entry: poetry run black
types: [python]
- repo: local
hooks:
- id: autoflake
name: autoflake
language: system
entry: poetry run autoflake --expand-star-imports --remove-all-unused-imports --remove-unused-variables --in-place --recursive test_proj/ inline_actions/
types: [python]
- repo: local
hooks:
- id: isort
name: isort
language: system
entry: poetry run isort
types: [python]
- repo: local
hooks:
- id: mypy
name: mypy
language: system
entry: poetry run mypy
types: [python]
- repo: local
hooks:
- id: flake8
name: flake8
language: system
entry: poetry run flake8
types: [python]