30 lines
380 B
Makefile
30 lines
380 B
Makefile
test:
|
|
pytest
|
|
|
|
coverage:
|
|
pytest --cov
|
|
|
|
format:
|
|
ruff format
|
|
|
|
lint:
|
|
ruff check --fix
|
|
|
|
install:
|
|
python -m pip install -e .
|
|
|
|
install-test:
|
|
python -m pip install -e ".[dev]"
|
|
|
|
docs:
|
|
mkdocs serve
|
|
|
|
pypi:
|
|
python -m build
|
|
twine upload dist/*
|
|
|
|
clean:
|
|
rm -rf **/.ipynb_checkpoints **/.pytest_cache **/__pycache__ **/**/__pycache__ .ipynb_checkpoints .pytest_cache
|
|
|
|
check: test clean
|