71 lines
No EOL
1.8 KiB
TOML
71 lines
No EOL
1.8 KiB
TOML
[project]
|
|
name = "mcp-ext-variants"
|
|
version = "0.1.0"
|
|
description = "Python SDK for Model Context Protocol variants"
|
|
authors = [{name = "The MCP Variants Authors"}]
|
|
readme = "README.md"
|
|
license = {text = "Apache-2.0"}
|
|
requires-python = ">=3.10"
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
dependencies = [
|
|
"mcp>=1.0.0",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://github.com/modelcontextprotocol/experimental-ext-variants"
|
|
"Bug Reports" = "https://github.com/modelcontextprotocol/experimental-ext-variants/issues"
|
|
"Source" = "https://github.com/modelcontextprotocol/experimental-ext-variants"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/mcp_ext_variants"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"UP", # pyupgrade
|
|
"C4", # flake8-comprehensions
|
|
"PERF", # Perflint
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"__init__.py" = ["F401"] # Allow unused imports in __init__.py
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
disallow_untyped_defs = true
|
|
ignore_missing_imports = true
|
|
|
|
[tool.pyright]
|
|
typeCheckingMode = "basic"
|
|
include = ["src/mcp_ext_variants", "tests"]
|
|
venvPath = "."
|
|
venv = ".venv"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py", "*_test.py"]
|
|
addopts = "--strict-markers --verbose" |