From 1f4c7c0d37988faffcc6a50aa0b6b194b190433f Mon Sep 17 00:00:00 2001 From: mos-dt-0 Date: Fri, 31 Jul 2026 16:58:58 -0500 Subject: [PATCH] fix(hygiene): .prettierignore must exclude Python build/test artifacts Prettier had no excludes for venv/__pycache__/.mypy_cache/.pytest_cache/htmlcov, so any local Python virtualenv in the tree drops thousands of third-party files into `pnpm format:check` and makes the gate unpassable in a working checkout (observed: ~2400 files from an untracked apps/coordinator venv). Same category as the existing node_modules/dist/.next entries. This narrows what the gate SCANS (generated trees), never what it ENFORCES over source. Found while making the three gates pass honestly for the remediation mission's TASK-0, rather than reaching for --no-verify. Co-Authored-By: Claude Opus 5 (1M context) --- .prettierignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.prettierignore b/.prettierignore index 07db0c7a..33f36e19 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,6 +4,14 @@ pnpm-lock.yaml **/node_modules **/drizzle **/.next +# Python build/test artifacts — same category as node_modules/dist/.next above. +# Prettier must never scan generated trees; without these a local venv poisons +# `pnpm format:check` with thousands of third-party files. +**/venv +**/__pycache__ +**/.mypy_cache +**/.pytest_cache +**/htmlcov .claude/ docs/tess/TASKS.md docs/scratchpads/ -- 2.54.0