Skip to content

Commit 7a85313

Browse files
dmealingclaude
andcommitted
docs(cli-py): note verify drift-check is *.py-scoped (review finding)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a3088ea commit 7a85313

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

  • server/python/src/metaobjects

server/python/src/metaobjects/cli.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,12 @@ def _cmd_gen(args: argparse.Namespace) -> int:
101101

102102

103103
def _relative_set(root: Path) -> dict[str, str]:
104-
"""Map every ``*.py`` file under ``root`` to its content, keyed by rel path."""
104+
"""Map every ``*.py`` file under ``root`` to its content, keyed by rel path.
105+
106+
Scoped to ``*.py`` because the Python codegen suite emits only Python sources;
107+
if a generator ever emits a non-``.py`` artifact, broaden this glob so ``verify``
108+
drift-checks it too.
109+
"""
105110
files: dict[str, str] = {}
106111
if root.exists():
107112
for p in sorted(root.rglob("*.py")):

0 commit comments

Comments
 (0)