-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTaskfile.yml
More file actions
53 lines (41 loc) · 1.05 KB
/
Taskfile.yml
File metadata and controls
53 lines (41 loc) · 1.05 KB
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
51
52
53
version: "3"
dotenv: [".env"]
tasks:
install:
cmds:
- uv sync --dev
- uv run pre-commit install
run:
cmds:
- uv run reflex run
test:
cmds:
- uv run ruff check --fix
- uv run pyright
- uv run pytest
watch-tests:
cmds:
- find tests mcp_chat -type f -path "*.py" | entr uv run pytest
pre-commit-all:
cmds:
- uv run pre-commit run --all-files
jupyter:
cmds:
- uv run --with jupyterlab --with jupyterlab-vim jupyter lab
bump-patch:
cmds:
- uv run hatch version patch
bump-minor:
cmds:
- uv run hatch version minor
bump-major:
cmds:
- uv run hatch version major
publish:
preconditions:
- sh: git status
cmds:
- git diff --quiet --staged || (echo "There are staged changes. They must be committed first" && exit 1)
- git diff --quiet || (echo "There are unstaged changes. They must be committed first." && exit 1)
- uv run hatch version | xargs -I {} git tag -a v{} -m "Release v{}"
- git push --follow-tags