-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (31 loc) · 748 Bytes
/
Makefile
File metadata and controls
48 lines (31 loc) · 748 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
36
37
38
39
40
41
42
43
44
45
46
47
48
bin = .venv/bin
packages = ate_api tests
upgrade:
$(bin)/pip install --upgrade --upgrade-strategy=eager -e .[dev]
black-check:
$(bin)/black --check $(packages)
isort-check:
$(bin)/isort --check-only $(packages)
terraform-fmt-check:
terraform -chdir=cloud fmt -check -recursive
format-check: black-check isort-check terraform-fmt-check
black:
$(bin)/black $(packages)
isort:
$(bin)/isort $(packages)
terraform-fmt:
terraform -chdir=cloud fmt -recursive
format: black isort terraform-fmt
mypy:
$(bin)/mypy $(packages)
ruff:
$(bin)/ruff check $(packages)
lint: mypy ruff
ruff-fix:
$(bin)/ruff check --fix $(packages)
fix: ruff-fix
test:
$(bin)/pytest
verify: format-check lint test
run:
$(bin)/fastapi dev ate_api/main.py