Skip to content

Commit 7901337

Browse files
improve: harden packaging metadata and MCP server format coverage
1 parent d366050 commit 7901337

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ classifiers = [
1616
"Intended Audience :: Developers",
1717
"Topic :: Database",
1818
"Topic :: Software Development :: Code Generators",
19+
"License :: OSI Approved :: MIT License",
20+
"Operating System :: OS Independent",
1921
"Programming Language :: Python :: 3",
2022
"Programming Language :: Python :: 3.10",
2123
"Programming Language :: Python :: 3.11",
2224
"Programming Language :: Python :: 3.12",
2325
"Programming Language :: Python :: 3.13",
26+
"Programming Language :: Python :: 3.14",
2427
]
2528

2629
dependencies = [

src/schemaforge/mcp_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def convert_tool(
6969
Args:
7070
schema_text: The schema text to convert.
7171
from_format: Source format (sql, prisma, drizzle, typeorm, django,
72-
sqlalchemy, alembic, json_schema, graphql).
72+
sqlalchemy, alembic, json_schema, graphql, ef, scala).
7373
to_format: Target format (same options as from_format).
7474
type_map_path: Optional path to a YAML/JSON type mapping config file.
7575
"""

tests/test_mcp_server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,16 @@ def test_diff_tool():
103103

104104

105105
def test_formats_tool():
106-
"""Formats tool should list all supported formats."""
106+
"""Formats tool should list all supported formats, including ef and scala."""
107107
s = create_server()
108108
tool = s._tool_manager._tools["formats"]
109109
result = tool.fn()
110110
assert "sql" in result
111111
assert "prisma" in result
112112
assert "graphql" in result
113113
assert "json_schema" in result
114+
assert "ef" in result
115+
assert "scala" in result
114116
assert all(f in result for f in _FORMATS)
115117

116118

0 commit comments

Comments
 (0)