mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-20 15:24:25 +01:00
We currently have 21 non strict typing issues and 112 strict typing issues. Most of the strict ones come from generic handling. This is the initial step to tackle the non strict errors by ignoring strict errors and adding github actions to check for type errors. Once this is place we move back to using strict types.
38 lines
672 B
TOML
38 lines
672 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "mcp-python"
|
|
version = "0.1.5.dev"
|
|
description = "Model Context Protocol implementation for Python"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"anyio",
|
|
"httpx",
|
|
"httpx-sse",
|
|
"pydantic>=2.0.0",
|
|
"starlette",
|
|
"sse-starlette",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["mcp_python"]
|
|
|
|
[tool.pyright]
|
|
include = ["mcp_python", "tests"]
|
|
venvPath = "."
|
|
venv = ".venv"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I"]
|
|
ignore = []
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py38"
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"__init__.py" = ["F401"]
|