-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
42 lines (32 loc) · 934 Bytes
/
Makefile
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
install:
uv sync --extra docs --extra dev
test:
uv run pytest -s tests/test_si220.py
uv run pytest -s tests/test_si500.py
uv run pytest -s tests/test_sin300.py
test-force:
uv run pytest -s tests/test_si220.py --force-regen
uv run pytest -s tests/test_si500.py --force-regen
uv run pytest -s tests/test_sin300.py --force-regen
test-fail-fast:
uv run pytest -s tests/test_si220.py -x
uv run pytest -s tests/test_si500.py -x
uv run pytest -s tests/test_sin300.py -x
update-pre:
pre-commit autoupdate --bleeding-edge
git-rm-merged:
git branch -D `git branch --merged | grep -v \* | xargs`
build:
rm -rf dist
pip install build
python -m build
jupytext:
jupytext docs/**/*.ipynb --to py
notebooks:
jupytext docs/**/*.py --to ipynb
docs:
uv run python .github/write_cells_si220.py
uv run python .github/write_cells_si500.py
uv run python .github/write_cells_sin300.py
uv run jb build docs
.PHONY: drc doc docs