.PHONY: lint
lint:  # Use all linters on all files (not just staged for commit)
	uv run --extra dev pre-commit run --all --all-files

.PHONY: doc_browser
doc_browser:  # Use portray to make documentation in the browser
	uv run portray in_browser

.PHONY: doc_html
doc_html:  # Use Portray to make documentation in html files located in docs/html
	uv run portray as_html -o docs/html --overwrite

.PHONY: test
test:  # Run tests on all tests in the tests folder
	uv run pytest

.PHONY: coverage
coverage:  # Run all tests and check coverage of all tests on all tests in the tests folder
	uv run pytest --cov

.PHONY: cov_report
cov_report:  # Create a coverage report of all tests
	uv run coverage html
