Skip to content

πŸͺ² BUG-#79: Preserve partial stream text on mid-response timeout #63

πŸͺ² BUG-#79: Preserve partial stream text on mid-response timeout

πŸͺ² BUG-#79: Preserve partial stream text on mid-response timeout #63

Workflow file for this run

name: πŸ” Code Quality
on:
pull_request:
branches: ["main", "master"]
workflow_dispatch:
workflow_call:
jobs:
code-quality:
name: Code Quality Checks
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: πŸ“₯ Checkout code
uses: actions/checkout@v4
- name: πŸ“¦ Setup Poetry
uses: ./.github/actions/setup-poetry
with:
python-version: ${{ matrix.python-version }}
install-deps: dev,code-quality
- name: πŸ” Ruff (Linting)
run: |
poetry run ruff check pycodeloop/ tests/ --config .code_quality/ruff.toml
- name: 🎨 Ruff (Format Check)
run: |
poetry run ruff format --check pycodeloop/ tests/ --config .code_quality/ruff.toml
- name: πŸ” MyPy (Type Checking)
continue-on-error: true
run: |
poetry run mypy pycodeloop/ --config-file .code_quality/mypy.ini
- name: πŸ“¦ Provider templates in sync
run: |
diff -rq templates pycodeloop/providers/templates
- name: βœ… Code Quality Summary
if: always()
run: |
echo "### Code Quality Checks Completed βœ…" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "Python Version: ${{ matrix.python-version }}" >> $GITHUB_STEP_SUMMARY
echo "All code quality tools have been executed." >> $GITHUB_STEP_SUMMARY