-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathJustfile
More file actions
43 lines (29 loc) · 693 Bytes
/
Copy pathJustfile
File metadata and controls
43 lines (29 loc) · 693 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
# https://github.com/casey/just
# comment to not use powershell (for Linux, MacOS, and the BSDs)
# set shell := ["powershell.exe", "-c"]
@default:
just --list --unsorted
install:
uv sync --all-extras --cache-dir .uv_cache
upgrade:
uv sync --all-extras --cache-dir .uv_cache --upgrade
install-prod:
uv sync --all-extras --no-dev --cache-dir .uv_cache
pre-commit:
uv run pre-commit install
format:
uv run ruff format
lint:
uv run ruff check --fix
test:
uv run pytest --verbose --color=yes tests
validate: format lint
doc:
pydoc-markdown --render-toc -I src > src/README.md
lc:
uv run wc -l **/*.py
build: validate doc
rm -rf dist
uv build
release: build
uv publish