From 94ec067fa52bb0a0a5fc9dbbb4bee507d1774656 Mon Sep 17 00:00:00 2001 From: RaghavChamadiya Date: Tue, 7 Jul 2026 19:22:45 +0530 Subject: [PATCH] docs(walker): note that complexity passes are order-independent Add a one-line clarification to the module docstring: each analysis pass is side-effect free, so walk_file can run them in any order over the one parsed tree. No behavior change. --- .../src/repowise/core/analysis/health/complexity/walker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/src/repowise/core/analysis/health/complexity/walker.py b/packages/core/src/repowise/core/analysis/health/complexity/walker.py index 7a889d6a..84631e86 100644 --- a/packages/core/src/repowise/core/analysis/health/complexity/walker.py +++ b/packages/core/src/repowise/core/analysis/health/complexity/walker.py @@ -29,6 +29,9 @@ - ``error_handling`` — error-handling anti-patterns - ``perf_walk`` — the performance-risk pass - ``class_analysis`` — class-level LCOM4 / god-class metrics + +Each pass is independent and side-effect free, so ``walk_file`` can run them +in any order over the single parsed tree. """ from __future__ import annotations