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
|
all: build-inplace
build-inplace:
python3 setup.py build_ext -i
python3 setup.py build_rust -i
coverage: build-inplace
python3 -m coverage run -m unittest tests.test_suite
coverage-html:
python3 -m coverage html
check:: style
style:
PYTHONPATH=$(shell pwd)/py ruff check py
fix:
ruff check --fix py
cargo fmt --all
format:
ruff format py
cargo fmt --all
check:: testsuite
testsuite:: build-inplace
PYTHONPATH=$(shell pwd)/py python3 -m unittest tests.test_suite
testsuite::
cargo test-all-features
|