help:			## Show this help
	@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'

install:		## Install into .venv
	uv sync

install-dev:		## Install into .venv with dev dependencies
	uv sync --extra dev

code-check:		## Check and format code using pre-commit
	uvx pre-commit install
	uvx pre-commit autoupdate
	uvx pre-commit run --all-files

test:			## Run the tests
	uv run pytest --verbose
	uv run mypy stac_validator/

build-docker:		## Build a Docker container
	docker build -t stac-validator .

run:			## Run the Docker Container and enter into bash
	docker run -it --entrypoint /bin/bash stac-validator

docs:			## Build documentation locally
	uv sync --extra docs
	uv run sphinx-build -b html -E docs/ docs/_build/html
	@echo "Documentation built in docs/_build/html"
