From 29448cf0f185afb534e74479e4a2a477f7dd4e91 Mon Sep 17 00:00:00 2001 From: DevForge Engineer Date: Mon, 18 May 2026 14:54:53 -0400 Subject: [PATCH] ci(publish): lint both src/ and tests/ (match CI consistency) The publish workflow only checked src/ during linting, but CI checks both src/ and tests/. This gap means published packages could ship code that doesn't pass CI-level lint checks. Fix: align publish lint step with CI by checking tests/ too, and remove redundant --target-version py310 flag (already set in pyproject.toml). --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 585eaa8..49395ae 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,7 +18,7 @@ jobs: pip install --upgrade pip pip install build twine - name: Lint with ruff - run: pip install ruff && ruff check src/ --target-version py310 + run: pip install ruff && ruff check src/ tests/ - name: Build package run: python -m build