GRM-44: fix: bridge test suite gaps — lint scripts, include integration tests

This commit is contained in:
2026-06-21 22:21:15 +00:00
parent 7dfc9f6014
commit 402e2dce7e
6 changed files with 17 additions and 45 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ def extract_cli_commands() -> list[str]:
content = CLI_FILE.read_text()
commands: list[str] = []
# Find all @cli.command(...) occurrences, then the next def statement
for match in re.finditer(r'@cli\.command\b', content):
for match in re.finditer(r"@cli\.command\b", content):
# Check for explicit name="..." in the decorator arguments
decorator_end = content.find(")", match.start())
decorator_text = content[match.start() : decorator_end + 1]
@@ -63,7 +63,7 @@ def extract_cli_commands() -> list[str]:
continue
# Find the next def statement after this decorator
after = content[decorator_end:]
def_match = re.search(r'def\s+(\w+)\s*\(', after)
def_match = re.search(r"def\s+(\w+)\s*\(", after)
if def_match:
commands.append(def_match.group(1))
return commands