#!/bin/bash -e

# run from root of repo: `cd .git/hooks && ln -s -f ../../pre-push`

uv run ruff format --check .
uv run ruff check .
uv run pyright
# skip the `youtube`-marked tests that download real tracks from YouTube
uv run pytest -m "not youtube"
