-
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathjustfile
More file actions
35 lines (26 loc) · 499 Bytes
/
justfile
File metadata and controls
35 lines (26 loc) · 499 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
#!/usr/bin/env just --justfile
set quiet := true
# show help
help:
just --list
# build package
build:
uv build
# remove temp build files
clean:
rm -Rf dist/ .pytest_cache/ .mypy_cache/
# upload package to test repository
publish-test:
uv publish --index testpypi
# upload package to prod repository
publish:
uv publish
# install package with dependencies
sync:
uv sync
# run unit tests
test:
uv run pytest -qv
# run package linters
lint:
uv run mypy ./src