Skip to content

Commit bc1bca9

Browse files
committed
ci: add Makefile for dev setup with prek hooks
1 parent dcc3e13 commit bc1bca9

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.PHONY: setup lint test coverage
2+
3+
setup: ## Install dev dependencies and git hooks
4+
uv sync --dev
5+
uv run prek install
6+
7+
lint: ## Run all pre-commit hooks
8+
uv run prek run --all-files
9+
10+
test: ## Run tests
11+
uv run pytest
12+
13+
coverage: ## Run tests with coverage report
14+
uv run pytest --cov=src/bsblan --cov-report=term-missing

0 commit comments

Comments
 (0)