From 6f1195b589683cc30eb33247e7ef00a9bb0cd94e Mon Sep 17 00:00:00 2001 From: Hugues Hoppe Date: Tue, 6 Oct 2026 07:35:27 -0700 Subject: [PATCH] pyrefly: include only **/*.py instead of excluding *.ipynb - pyrefly includes `**/*.ipynb` by default, and it warns "Skipping include pattern ... because it is matched by `project-excludes`" when an exclude entry cancels that whole pattern. Setting `project-includes` avoids the warning. - The set of checked files and the diagnostics are unchanged. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 326495c..737724b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,7 +101,7 @@ expected-line-ending-format = "LF" [tool.pyrefly] min-severity = "warn" -project-excludes = ["*.ipynb"] +project-includes = ["**/*.py"] [tool.ruff] extend-exclude = ["*.ipynb"]