(Chore): Commit the helper scripts.

This commit is contained in:
2026-01-05 22:16:05 +00:00
parent b9224dd031
commit 2e501a5c25
2 changed files with 62 additions and 0 deletions

33
scripts/verify.sh Normal file
View File

@@ -0,0 +1,33 @@
#!/bin/bash
# Verification script for code quality checks
set -e
echo "🔍 Running code quality checks..."
echo ""
# Run ruff linter
echo "📋 Running ruff linter..."
ruff check src/ tests/ examples/
echo "✅ Ruff linter passed!"
echo ""
# Run ruff formatter check
echo "🎨 Checking code formatting..."
ruff format --check src/ tests/ examples/
echo "✅ Code formatting is correct!"
echo ""
# Run pyright type checker
echo "🔬 Running pyright type checker..."
pyright src/
echo "✅ Pyright type checking passed!"
echo ""
# Run tests with coverage
echo "🧪 Running tests with coverage..."
pytest
echo "✅ All tests passed!"
echo ""
echo "🎉 All checks passed successfully!"