Files
pocketpaw/.pre-commit-config.yaml
Rohit Kushwaha 61ce71bb43 fix: address review feedback
- Apply _activity_seq tiebreaker to get_activities() as well
- Move pytest hook to pre-push stage (ruff stays on pre-commit)
- Use uv tool install for pre-commit in CONTRIBUTING.md
2026-03-04 23:19:23 +05:30

18 lines
429 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: local
hooks:
- id: pytest
name: pytest (unit tests)
entry: uv run --no-sync pytest --ignore=tests/e2e -x -q
language: system
pass_filenames: false
always_run: true
stages: [pre-push]