-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (22 loc) · 734 Bytes
/
Copy pathMakefile
File metadata and controls
27 lines (22 loc) · 734 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
#----------------------------------------------
# Environment Variables
#----------------------------------------------
export PYTHONPATH = ./src:$PYTHONPATH
#----------------------------------------------
# Variables
#----------------------------------------------
PORT := 55000
#----------------------------------------------
# Commands
#----------------------------------------------
run:
uv run uvicorn src.main:create_app --port $(PORT) --factory --reload
test:
uv run pytest -c pyproject.toml
format:
uv run ruff check --fix --config=pyproject.toml .
uv run ruff format --config=pyproject.toml .
check:
uv run ruff check --config=pyproject.toml .
uv run ruff format --check --config=pyproject.toml .
uv run ty check