chore: add quality check script (ruff, ty, pytest)
This commit is contained in:
parent
6a8b41cd38
commit
7454f8c8cb
1 changed files with 17 additions and 0 deletions
17
scripts/check.sh
Executable file
17
scripts/check.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/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!"
|
||||
Loading…
Add table
Add a link
Reference in a new issue