17 lines
300 B
Bash
Executable file
17 lines
300 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Run all quality checks
|
|
set -euo pipefail
|
|
|
|
echo "==> Formatting..."
|
|
uv run ruff format src/ tests/
|
|
|
|
echo "==> Linting..."
|
|
uv run ruff check src/ tests/ --fix
|
|
|
|
echo "==> Type checking..."
|
|
uv run ty check src/
|
|
|
|
echo "==> Testing..."
|
|
uv run pytest -v
|
|
|
|
echo "==> All checks passed!"
|