-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
50 lines (39 loc) · 834 Bytes
/
Copy pathTaskfile.yaml
File metadata and controls
50 lines (39 loc) · 834 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
49
50
version: "3"
tasks:
install:
cmds:
- uv sync --all-extras
test:
cmds:
- uv run pytest {{.CLI_ARGS}}
test-unit:
cmds:
- uv run pytest tests/unit -v
test-integration:
cmds:
- uv run pytest tests/integration -v
test-e2e:
cmds:
- uv run pytest tests/e2e -v
lint:
cmds:
- uv run ruff check src/ tests/
- uv run ruff format --check src/ tests/
typecheck:
cmds:
- uv run mypy src/lintel/
format:
cmds:
- uv run ruff format src/ tests/
- uv run ruff check --fix src/ tests/
serve:
cmds:
- uv run uvicorn lintel.api.app:app --reload --port 8000
migrate:
cmds:
- uv run python -m lintel.infrastructure.event_store.migrate
all:
cmds:
- task: lint
- task: typecheck
- task: test