pyproject.toml•3 kB
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "dataproc-mcp-server"
dynamic = ["version"]
description = "Google Cloud Dataproc MCP Server"
authors = []
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"mcp>=1.0.0",
"google-cloud-dataproc>=5.0.0",
"google-auth>=2.0.0",
"google-auth-oauthlib>=1.0.0",
"google-cloud-storage>=2.0.0",
"anyio>=3.0.0",
"pydantic>=2.0.0",
"structlog>=23.0.0",
"fastapi>=0.100.0",
"uvicorn>=0.20.0",
"sse-starlette>=1.6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
"types-requests",
]
[project.urls]
Homepage = "https://github.com/yourusername/dataproc-mcp-server"
Repository = "https://github.com/yourusername/dataproc-mcp-server"
Issues = "https://github.com/yourusername/dataproc-mcp-server/issues"
[project.scripts]
dataproc-mcp-server = "dataproc_mcp_server.__main__:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/dataproc_mcp_server/_version.py"
[tool.ruff]
target-version = "py311"
line-length = 88
extend-exclude = ["src/*/_version.py"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--strict-config",
"--disable-warnings",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = false
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 = [
"google.cloud.*",
"google.api_core.*",
"google.auth.*",
"google.oauth2.*",
"mcp.*",
"structlog.*",
]
ignore_missing_imports = true