-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
45 lines (36 loc) · 769 Bytes
/
Taskfile.yml
File metadata and controls
45 lines (36 loc) · 769 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
version: "3"
env:
PIP_DISABLE_PIP_VERSION_CHECK: "1"
tasks:
default:
desc: Show available commands
cmds:
- task --list-all
install:
desc: Install Python dependencies
cmds:
- uv sync
format:
desc: Format repository code
cmds:
- uv run ruff format
- uv run ruff check --fix
format-check:
desc: Check the code format (without modifying)
cmds:
- uv run ruff format --check
lint:
desc: Run lint checks
cmds:
- uv run ruff check
type-check:
desc: Run static type checks
cmds:
- uv run mypy .
check:
desc: Run formatting check, lint, and type checks
deps: [format-check, lint, type-check]
test:
desc: Run all tests
cmds:
- uv run pytest