pyproject.toml•1.28 kB
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "fs-mcp"
version = "0.1.0"
description = "MCP server for file upload/download with RustFS integration"
authors = [
{name = "jk", email = "jk@example.com"},
]
dependencies = [
"fastmcp>=0.1.0",
"httpx>=0.25.0",
"aiofiles>=23.0.0",
"pydantic>=2.0.0",
"python-dotenv>=1.0.0",
"boto3>=1.40.55",
]
requires-python = ">=3.10"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/fs_mcp"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
"--disable-warnings"
]
markers = [
"unit: 单元测试",
"integration: 集成测试",
"slow: 慢速测试(需要网络访问)"
]
[tool.black]
line-length = 88
target-version = ['py310', 'py311']
include = '\.pyi?$'
[tool.ruff]
line-length = 88
target-version = "py310"
select = ["E", "F", "I", "W", "N", "B", "C4", "UP"]
ignore = ["E501", "B008"]
[dependency-groups]
dev = [
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
]