pyproject.toml•1.63 kB
[project]
name = "bjhjyd-mcp"
version = "0.1.0"
description = "Beijing Car Quota Lottery Results MCP Server"
authors = [
{name = "Developer", email = "dev@example.com"}
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
"fastapi-mcp>=0.3.0",
"crawl4ai>=0.3.0",
"pdfplumber>=0.10.0",
"PyPDF2>=3.0.0",
"requests>=2.31.0",
"aiofiles>=23.2.0",
"python-multipart>=0.0.6",
"pydantic>=2.5.0",
"httpx>=0.25.0",
"markdownify>=0.11.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.5.0",
]
[project.scripts]
bjhjyd-mcp = "bjhjyd_mcp.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.black]
line-length = 88
target-version = ['py39']
[tool.isort]
profile = "black"
line_length = 88
[tool.pytest.ini_options]
testpaths = ["src/tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[[tool.mypy.overrides]]
module = [
"crawl4ai.*",
"pdfplumber.*",
"fastapi_mcp.*",
]
ignore_missing_imports = true