mirror of
https://github.com/dnlbauer/cordra-mcp.git
synced 2026-09-10 13:45:30 +00:00
fix: improve type checking and linting configuration
- Add mypy configuration with cordra module overrides - Fix newline issues in __init__.py and server.py - Update dependencies to use CordraPy from GitHub - Add setuptools dependency for CordraPy compatibility - Configure pytest with asyncio support 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -10,10 +10,11 @@ license = "MIT"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"mcp>=1.2.0",
|
||||
"CordraPy",
|
||||
"httpx>=0.25.0",
|
||||
"pydantic>=2.0.0",
|
||||
"pydantic-settings>=2.0.0",
|
||||
"cordrapy",
|
||||
"setuptools>=80.9.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
@@ -46,7 +47,19 @@ python_version = "3.11"
|
||||
strict = true
|
||||
warn_return_any = true
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = ["cordra.*"]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
testpaths = ["tests"]
|
||||
addopts = "--cov=src/mcp_cordra --cov-report=term-missing"
|
||||
addopts = "-v"
|
||||
|
||||
[tool.uv.sources]
|
||||
cordrapy = { git = "https://github.com/usnistgov/CordraPy.git" }
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest-asyncio>=1.0.0",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user