-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.lefthook.yaml
39 lines (39 loc) · 1.03 KB
/
.lefthook.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
pre-commit:
parallel: true
commands:
application-lint:
root: "application/"
run: "flake8 ."
application-autoformat:
root: "application/"
run: "black ."
application-isort:
root: "application/"
run: "isort ."
application-bandit:
root: "application/"
run: "bandit ."
celery-lint:
root: "celery/"
run: "flake8 ."
celery-autoformat:
root: "celery/"
run: "black ."
celery-isort:
root: "celery/"
run: "isort ."
commons-lint:
root: "commons/"
run: "flake8 ."
commons-autoformat:
root: "commons/"
run: "black ."
commons-isort:
root: "commons/"
run: "isort ."
sse-proxy-format:
root: "sse-proxy/"
run: "clang-format ."
worker-format:
root: "worker/"
run: "mix format"