mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-07 08:43:35 +08:00
The Python exemption for a singular test/ directory was meant for shipped packages like django/test/, but it also applied to a repository's own test/ suite. Helpers such as test/helpers.py or SQLAlchemy's test/orm/_fixtures.py became production components, their indexed is_test flag was ignored, and a route handler there would count as an entry point. Only a nested test/ is now exempt; a top-level test/ stays a test directory for every language, together with its indexed flag. The segment and suffix checks use small helpers instead of hand-counted lengths. Django and the cbm control repository are unchanged. Signed-off-by: Bernhard Jackiewicz <bj@techport.io>