From d2d46e6919b874235b7d359bd01fb5497645ab86 Mon Sep 17 00:00:00 2001 From: JS Ng Date: Mon, 5 Oct 2026 12:42:59 +0800 Subject: [PATCH] chore: restore pyright's default exclude list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit exclude = ['.cache'] REPLACED pyright's defaults, un-excluding .venv — the same latent config bug that gave nyxchange-timetable-v2 18k errors (#64 there). With defaults restored, project diagnostics stand at 23 (reported in the follow-up chore); this repo's CI does not run pyright yet, so this is prep for enabling it. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f9c17af..d984935 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ include = "campus_python" [tool.pyright] # https://github.com/microsoft/pyright/blob/main/docs/configuration.md useLibraryCodeForTypes = true -exclude = [".cache"] +exclude = ["**/node_modules", "**/__pycache__", "**/.*", ".cache"] [tool.ruff] # https://beta.ruff.rs/docs/configuration/