-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (35 loc) · 902 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (35 loc) · 902 Bytes
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
exclude: "^.venv/.*|.html"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.0.1"
hooks:
- id: trailing-whitespace
- id: check-yaml
- id: pretty-format-json
args: ["--autofix"]
- id: check-merge-conflict
- repo: local
hooks:
- id: isort
name: isort
language: system
entry: poetry run isort asgi_lifespan_middleware tests
types: [python]
pass_filenames: false
- id: blacken
name: blacken
language: system
entry: poetry run black asgi_lifespan_middleware tests
types: [python]
pass_filenames: false
- id: flake8
name: flake8
language: system
entry: poetry run flake8 asgi_lifespan_middleware tests
types: [python]
- id: mypy
name: mypy
language: system
entry: poetry run mypy
types: [python]
pass_filenames: false