-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (34 loc) · 625 Bytes
/
Makefile
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
ifneq (,$(wildcard ./.env))
include .env
export
endif
requirements:
pip3 install -r requirements.txt
pip3 install -r requirements-test.txt
pip3 install -r requirements-postgres.txt
.PHONY: requirements
fix-fmt:
black .
.PHONY: fix-fmt
fix-imports:
isort .
.PHONY: fix-imports
fix: fix-imports fix-fmt
.PHONY: fix
check-fmt:
black --check .
.PHONY: check-fmt
check-imports:
isort --check .
.PHONY: check-imports
check-lint:
pylint action
.PHONY: check-lint
check-type:
mypy action
.PHONY: check-type
check: check-fmt check-imports check-lint check-type
.PHONY: check
run:
./action.sh
.PHONY: run