standardize packaging, tooling, docs, CI, and licensing
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from pathlib import Path
|
||||
|
||||
from docforge.loaders import GriffeLoader, discover_module_paths
|
||||
from docforge import MCPRenderer
|
||||
from docforge.loaders import GriffeLoader, discover_module_paths
|
||||
|
||||
|
||||
def test_mcp_emits_all_modules(tmp_path: Path) -> None:
|
||||
@@ -22,10 +22,7 @@ def test_mcp_emits_all_modules(tmp_path: Path) -> None:
|
||||
for p in (tmp_path / "modules").rglob("*.json")
|
||||
}
|
||||
|
||||
expected = {
|
||||
f"modules/{m.path}.json"
|
||||
for m in project.get_all_modules()
|
||||
}
|
||||
expected = {f"modules/{m.path}.json" for m in project.get_all_modules()}
|
||||
|
||||
missing = expected - emitted
|
||||
assert not missing, f"Missing MCP module JSON files: {missing}"
|
||||
|
||||
Reference in New Issue
Block a user