Debian Codegraph @

justfile

raw
1 version := `python3 -c "from src.meshzoo.__about__ import __version__; print(__version__)"`
2
3 default:
4 @echo "\"just publish\"?"
5
6 publish:
7 @if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then exit 1; fi
8 gh release create "v{{version}}"
9 flit publish
10
11 clean:
12 @find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
13 @rm -rf src/*.egg-info/ build/ dist/ .tox/
14
15 format:
16 isort .
17 black .
18 blacken-docs README.md
19
20 lint:
21 black --check .
22 flake8 .