pyproject.tomlโข2.06 kB
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "airtable-mcp-server-oauth"
version = "0.1.0"
description = "Airtable OAuth MCP Server - Python implementation with OAuth 2.0 authentication"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.116.1",
"fastmcp>=2.10.5",
"google-cloud-firestore>=2.21.0",
"httpx>=0.28.1",
"pydantic>=2.11.7",
"python-dotenv>=1.1.1",
"authlib>=1.3.2",
"uvicorn>=0.35.0",
]
[project.scripts]
airtable-oauth-mcp = "airtable_mcp.main:main"
[dependency-groups]
dev = [
"pytest-asyncio>=1.1.0",
"pytest-cov>=6.2.1",
"pytest-mock>=3.14.1",
"pre-commit>=4.0.1",
"mypy>=1.13.0",
"pytest>=8.4.1",
]
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-ra -q --strict-markers --cov=src/airtable_mcp --cov-report=term-missing"
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
source = ["src"]
omit = ["tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[tool.hatch.build.targets.wheel]
packages = ["src/airtable_mcp"]
[tool.ruff]
line-length = 88
target-version = "py311"
[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
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true