Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Makefile help command #156

Merged
merged 15 commits into from
Oct 26, 2024
Merged
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
.PHONY: test cov format html

.DEFAULT_GOAL := help

help:
@echo "test-generate-baseline: generate baseline images for tests"
@echo "test: run tests"
@echo "cov: run tests and generate coverage report"
@echo "format: run pre-commit hooks"
@echo "html: serve documentation"

test-generate-baseline:
poetry run pytest --mpl-generate-path=tests/example-plots tests/test_example_plots.py

Expand Down
Loading