mirror of
https://github.com/pocketpaw/pocketpaw.git
synced 2026-05-13 21:21:53 +00:00
- 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
18 lines
429 B
YAML
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]
|