Skip to content

fix(lint): resolve 6 pre-existing ruff errors blocking CI #33

fix(lint): resolve 6 pre-existing ruff errors blocking CI

fix(lint): resolve 6 pre-existing ruff errors blocking CI #33

Workflow file for this run

name: ci
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: lint & format (ruff)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dev dependencies
run: pip install -e ".[dev]"
- name: ruff check
run: ruff check .
- name: ruff format --check
run: ruff format --check .
test:
name: test (py${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package (with dev extras)
run: pip install -e ".[dev]"
- name: Run test suite
run: pytest -q
- name: Install optional extras and re-run
run: |
pip install -e ".[dev,lsp,bench,mcp]" || echo "optional extras unavailable; skipping extra run"
pytest -q
consistency:
name: cross-repo consistency (non-blocking)
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install package
run: pip install -e ".[dev]"
- name: Check consistency
run: python scripts/check_consistency.py