#!/bin/sh
set -e

echo "🔍 Running checks for pywire-auth..."

echo "-> ruff format"
uv run ruff format --check src/ tests/

echo "-> ruff lint"
uv run ruff check src/ tests/

# TODO: ty check (auth pkg has existing type issues untouched by this branch)

echo "-> pytest"
uv run --package pywire-auth pytest tests/
