From df1d1765d191f04cd7bf11f8f1d3149894150ce5 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sat, 6 Jun 2026 17:38:01 +0545 Subject: [PATCH] ci: drop pyright typecheck job in favour of ruff The project uses ruff for lint+format, and pyright was redundant and slow. The previous pyright run surfaced ~30 false positives from running outside the venv plus 5 real-but-minor typing issues that don't justify the extra CI minutes on a 0.2.x CLI. CI now runs only ruff check, ruff format --check, and the import/CLI smoke matrix on 3.10/3.11/3.12/3.13. --- .github/workflows/ci.yml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53b3ef3..b98d648 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,27 +34,6 @@ jobs: - name: ruff format --check run: uv run ruff format --check . - typecheck: - name: Type check (pyright) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - - name: Install uv - uses: astral-sh/setup-uv@v7 - with: - enable-cache: true - cache-dependency-glob: "uv.lock" - - - name: Set up Python - run: uv python install 3.12 - - - name: Sync dependencies - run: uv sync --all-extras --dev - - - name: pyright - run: uvx pyright@1.1.396 devgen - smoke: name: Import & CLI smoke (${{ matrix.python-version }}) runs-on: ubuntu-latest