mirror of
https://github.com/trailofbits/dropkit
synced 2026-06-21 14:11:54 +00:00
dfa984831d
* Strip Zprezto and p10k from cloud-init shell config * Add help as default Makefile target
20 lines
503 B
Makefile
20 lines
503 B
Makefile
.PHONY: help dev lint format test audit
|
|
|
|
help: ## Show available targets
|
|
@grep -E '^[a-zA-Z_-]+:.*##' $(MAKEFILE_LIST) | awk -F ':.*## ' '{printf " %-12s %s\n", $$1, $$2}'
|
|
|
|
dev: ## Install all dependencies
|
|
uv sync --all-groups
|
|
|
|
lint: ## Run linter and type checker
|
|
uv run ruff format --check . && uv run ruff check . && uv run ty check dropkit/
|
|
|
|
format: ## Auto-format code
|
|
uv run ruff format .
|
|
|
|
test: ## Run tests
|
|
uv run pytest
|
|
|
|
audit: ## Audit dependencies for vulnerabilities
|
|
uv run pip-audit
|