pyproject.toml•1.94 kB
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "enterprise-mcp"
version = "0.1.0"
description = "Enterprise MCP server with ServiceNow integration and health monitoring"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{ name = "Enterprise Team", email = "team@enterprise.com" }
]
dependencies = [
"mcp==1.10.1",
"fastapi==0.115.14",
"uvicorn[standard]>=0.30.0",
"starlette>=0.40.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"httpx>=0.25.0",
"psutil>=5.9.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=4.0.0",
"mypy>=1.8.0",
"ruff>=0.1.0",
"pre-commit>=3.6.0",
]
[project.scripts]
enterprise-mcp = "enterprise_mcp.main:run_server"
[tool.hatch.build.targets.wheel]
packages = ["src/enterprise_mcp"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/README.md",
"/pyproject.toml",
]
[tool.ruff]
target-version = "py311"
line-length = 100
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.11"
check_untyped_defs = true
ignore_missing_imports = true
warn_return_any = true
warn_unused_configs = true
exclude = [
"build/",
"dist/",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short --strict-markers"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]