From 260c899c72bb44398d88024d7aefcca90735f6a6 Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Mon, 7 Sep 2026 20:54:19 +0000 Subject: [PATCH] chore: drop the lint exclude for a directory not in the repo - ruff's extend-exclude listed a path that is not part of the repository, so the entry never matched anything in CI - keep the generated results/ exclude, which is a real runtime output directory --- .github/workflows/ci.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b7207951..72942f5dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,5 +57,5 @@ jobs: run: pip install "ruff>=0.15" - name: Lint the repository # The repo is fully clean under the strict select, so we lint everything - # (results/ and worklog/ are excluded via pyproject extend-exclude). + # (generated results/ is excluded via pyproject extend-exclude). run: ruff check . diff --git a/pyproject.toml b/pyproject.toml index b6e2974a7..a543311e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,7 +69,7 @@ filterwarnings = [ [tool.ruff] line-length = 100 target-version = "py310" -extend-exclude = ["results", "worklog"] +extend-exclude = ["results"] [tool.ruff.lint] # Standard "good defaults" rule set (pyflakes + pycodestyle + isort + bugbear +