Files
codebase-memory-mcp/tests
Bernhard Jackiewicz 028b341fc9 fix(store): keep a top-level test/ directory as a test signal for Python
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>
2026-10-02 20:11:35 +02:00
..