Skip to content

RAG CLI: fix empty answers and improve UX (#323) #887

RAG CLI: fix empty answers and improve UX (#323)

RAG CLI: fix empty answers and improve UX (#323) #887

Workflow file for this run

name: 🧹 Ruff linter checks
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: |
pip install pre-commit ruff
# 4️⃣ Run pre-commit on all files
- name: Run pre-commit hooks
run: |
pre-commit run --all-files || (
echo ""
echo "❌ Pre-commit checks failed!"
echo "This project REQUIRES pre-commit to run formatting and lint fixes."
echo ""
echo "To fix locally, run:"
echo " pip install pre-commit"
echo " pre-commit install"
echo " pre-commit run --all-files"
exit 1
)