-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaskfile.yml
49 lines (39 loc) · 1.08 KB
/
taskfile.yml
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
version: "3.17"
tasks:
dist:
desc: Builds and then allows for publishing
deps: [build]
cmds:
- uv run hatch publish -y
build:
desc: Builds distributable tar.gz and wheel files
cmds:
- task: check
- uv build
check:
desc: Formats and lints python source files
deps: [lint, format]
format:
desc: Formats python source files
cmds:
- uv run ruff format --config pyproject.toml
lint:
desc: Lints python source files
cmds:
- uv run ruff check --config pyproject.toml
type:
desc: Type checks Python source files
cmds:
- uv run mypy src/effectual/*.py
bump:
desc: Bumps the versions of Python packages
cmds:
- uv lock --upgrade
- uv sync
setup:
desc: Installs dependencies and creates venv
cmds:
- uv python install 3.11
- uv venv --python 3.11
- uv lock
- uv sync