Skip to content

Commit 080f32e

Browse files
committed
add mise file for development
1 parent 5548a79 commit 080f32e

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

mise.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[tasks]
2+
serve = "flask run --port 8003"
3+
build = "npm run build"
4+
test = ['python -m pytest .']
5+
lint = ["ruff check .", "ruff format . --check"]
6+
fmt = ["ruff format .", "ruff check . --fix"]
7+
pip = ["uv sync"]
8+
9+
[tasks.full_test]
10+
depends = ["collectstatic", "test", "lint"]
11+
12+
[tasks.deploy]
13+
depends = ["test", "lint"]
14+
run = "git push dokku main"
15+
raw = true
16+
17+
[env]
18+
_.python.venv = { path = ".venv" }

0 commit comments

Comments
 (0)