Debian Codegraph @

Makefile

raw symbols SCIP
1
2 test: lint documentation examples pytest
3
4
5 pytest: clean
6 uv run pytest --cov -v
7
8
9 documentation: sphinx
10
11
12 sphinx:
13 cd docs; uv run make -s html > /dev/null
14
15
16 examples: clean g2e_test calc_test
17
18
19 g2e_test:
20 cd examples/g2e; uv run make -s clean test > /dev/null
21 cd examples/g2e; uv run make -s clean > /dev/null
22
23
24 calc_test:
25 cd examples/calc; uv run make -s clean test > /dev/null
26
27
28 lint: ruff ty mypy
29
30
31 ruff:
32 uv run ruff check -q --preview --fix tatsu tests examples
33
34
35 mypy:
36 uv run mypy --install-types --exclude dist --exclude parsers .
37
38
39 ty:
40 uv run ty check --exclude parsers
41
42
43 clean:
44 find . -name "__pycache__" -delete
45 rm -rf tatsu.egg-info dist build .tox
46
47
48 checks: clean documentation
49 uv run hatch run --force-continue test:checks
50 @echo version `uv run python -m tatsu --version`
51
52
53 build: clean
54 uv run hatch build
55
56
57 test_publish: build
58 uv run hatch publish --repo test
59
60
61 publish: checks build
62 uv run hatch publish