Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
- repo: builtin
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
exclude: tests/_fixtures/.*
- id: check-merge-conflict

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: debug-statements

- repo: local
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ VENV_DIR := .venv
install-dev: ## Install all dependencies including dev tools
uv sync --group dev
$(VENV_DIR)/bin/python scripts/deps
$(VENV_DIR)/bin/pre-commit install
$(VENV_DIR)/bin/prek install --prepare-hooks -f

test:
uv run pytest -n auto tests/unit/ tests/integration/ -v
Expand Down Expand Up @@ -107,7 +107,7 @@ test-artifact-size-analysis-upload:
status:
@echo "Python version: $$(uv run python --version)"
@echo "Virtual environment: $$(if [ -d $(VENV_DIR) ]; then echo 'exists'; else echo 'missing'; fi)"
@echo "Pre-commit hooks: $$(if [ -f .git/hooks/pre-commit ]; then echo 'installed'; else echo 'not installed'; fi)"
@echo "Prek hooks: $$(if [ -f .git/hooks/pre-commit ]; then echo 'installed'; else echo 'not installed'; fi)"
@echo "UV version: $$(uv --version 2>/dev/null || echo 'not installed')"


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ dev = [
"debugpy>=1.8.16",
"memray>=1.0.0",
"pip-audit>=2.6.0",
"pre-commit>=4.3.0",
"prek>=0.5.10",
"pytest-asyncio>=1.1.0",
"pytest-cov>=6.2.1",
"pytest-mock>=3.15.0",
Expand Down
Loading
Loading