fastmcp/pyproject.toml
2025-04-10 09:03:25 -04:00

75 lines
1.6 KiB
TOML

[project]
name = "fastmcp"
dynamic = ["version"]
description = "An ergonomic MCP interface"
authors = [{ name = "Jeremiah Lowin" }]
dependencies = [
"dotenv>=0.9.9",
"mcp>=1.6.0,<2.0.0",
"rich>=13.9.4",
"typer>=0.15.2",
"websockets>=15.0.1",
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "Apache-2.0" }
[project.scripts]
fastmcp = "fastmcp.cli:app"
[project.optional-dependencies]
openapi = [
"fastapi>=0.115.12",
"openapi-pydantic>=0.5.1",
]
[build-system]
requires = ["hatchling>=1.21.0", "hatch-vcs>=0.4.0"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pre-commit",
"pyright>=1.1.389",
"pytest>=8.3.3",
"pytest-asyncio>=0.23.5",
"pytest-flakefinder",
"pytest-xdist>=3.6.1",
"ruff",
"copychat>=0.5.2",
"ipython>=8.12.3",
"pdbpp>=0.10.3",
"dirty-equals>=0.9.0",
]
[tool.uv]
# no default groups
default-groups = []
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
filterwarnings = [
"ignore:Accessing the 'model_fields' attribute on the instance is deprecated:DeprecationWarning",
]
[tool.hatch.version]
source = "vcs"
[tool.pyright]
include = ["src", "tests"]
exclude = ["**/node_modules", "**/__pycache__", ".venv", ".git", "dist"]
pythonVersion = "3.10"
pythonPlatform = "Darwin"
typeCheckingMode = "basic"
reportMissingImports = true
reportMissingTypeStubs = false
useLibraryCodeForTypes = true
venvPath = "."
venv = ".venv"
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "I001", "RUF013"]