-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
45 lines (35 loc) · 842 Bytes
/
mise.toml
File metadata and controls
45 lines (35 loc) · 842 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
[tools]
python = "3.13"
[settings]
python.uv_venv_auto = true
[env]
_.python.venv = { path = ".venv" }
[tasks.check]
description = "Format & lint the code"
depends = ['format', 'lint']
alias = 'c'
[tasks.format]
description = "Format the code"
run = "uv run ruff format"
[tasks.lint]
description = "Lint the code"
run = "uv run ruff check"
[tasks.hooks]
description = "Install git hooks"
run = "cp hooks/* .git/hooks/"
[tasks.server]
description = "Run server"
run = "uv run -- uvicorn aggregations.webapp.app:app --reload"
alias = 's'
[tasks.worker]
description = "Run worker"
run = "uv run -- python -m aggregations.aggregator.worker"
alias = 'w'
[tasks.pgcli]
description = "Attach pgcli to the running container"
run = "pgcli postgresql://postgres:postgres@localhost:5432"
[hooks]
postinstall = [
"uv sync",
"mise r hooks",
]