From 579e78dc22a542ec34ecdbb5a47239d3c924c5b0 Mon Sep 17 00:00:00 2001 From: Lukasz Lancucki Date: Mon, 15 Jun 2026 10:09:53 +0100 Subject: [PATCH] chore(flake8): exclude .claude so local make check passes with worktrees (MPT-22214) flake8 has no gitignore awareness (unlike ruff's exclude_gitignore and mypy's tests exclude), so it descends into the nested full-repo checkouts under .claude/worktrees// created by the Claude Code worktree workflow and reports WPS violations on paths that match no per-file-ignores pattern. This breaks `make check` locally. CI is unaffected because it runs on a clean checkout without nested worktrees. Add .claude to the [tool.flake8] extend-exclude list, alongside the existing .venv entry. Co-Authored-By: Claude Opus 4.8 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 822c3298..8e35e746 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -99,6 +99,7 @@ aaa_act_block_style = "large" doctests = true extend-ignore = ["WPS226", "WPS412"] extend-exclude = [ + ".claude", ".coverage", ".github", ".idea",