-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
36 lines (29 loc) · 676 Bytes
/
Copy pathjustfile
File metadata and controls
36 lines (29 loc) · 676 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
[private]
default:
@just --list
# setup virtual environment
devel:
@uv sync --frozen
# tidy everything with ruff
[group("Analysis/Fixing")]
tidy:
@uv run --frozen ruff check --fix
# run the typechecker
[group("Analysis/Fixing")]
typecheck:
@uv run --frozen mypy socketmapsql.py
# clean up any caches or temporary files and directories
clean:
@rm -rf .mypy_cache .ruff_cache .venv dist
@find . -name \*.orig -delete
# install tools (you'll have to ensure you have uv already installed)
tools:
@uv tool install ruff
# Build the source distribution and wheel
[group("Release")]
build:
@uv build
# Push this release to PyPI
[group("Release")]
publish:
@uv publish