[project]
name = "chuk-mcp-physics"
version = "0.5.1"
description = "MCP server for physics simulations and calculations using Rapier physics engine"
authors = [
{name = "Chris Hay", email = "chris@example.com"}
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"chuk-mcp-server>=0.12",
"httpx>=0.27.0",
"pydantic>=2.0.0",
"numpy>=1.26.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"black>=24.0.0",
"ruff>=0.3.0",
"mypy>=1.8.0",
"bandit>=1.7.0",
"types-PyYAML>=6.0.0",
]
rapier = [
"pyyaml>=6.0",
"python-dotenv>=1.0.0",
]
all = [
"chuk-mcp-physics[dev,rapier]",
]
[project.scripts]
chuk-mcp-physics = "chuk_mcp_physics.server:main"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 100
target-version = ['py311']
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"
markers = [
"asyncio: mark test as async",
"integration: mark test as integration test",
"slow: mark test as slow running",
"rapier: mark test as requiring Rapier service",
]
[tool.mypy]
python_version = "3.11"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
disable_error_code = ["arg-type"]
[tool.coverage.run]
source = ["src"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]