mcp-vultr/pyproject.toml
2025-06-11 17:37:50 -06:00

184 lines
4.3 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "vultr-dns-mcp"
version = "1.0.1"
description = "A comprehensive Model Context Protocol (MCP) server for managing Vultr DNS records"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Ryan Malloy", email = "ryan@supported.systems"}
]
maintainers = [
{name = "Ryan Malloy", email = "ryan@supported.systems"}
]
keywords = [
"vultr",
"dns",
"mcp",
"model-context-protocol",
"dns-management",
"api",
"fastmcp"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: Name Service (DNS)",
"Topic :: System :: Systems Administration",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Communications",
"Environment :: Console",
"Framework :: AsyncIO"
]
requires-python = ">=3.8"
dependencies = [
"fastmcp>=0.1.0",
"httpx>=0.24.0",
"pydantic>=2.0.0",
"click>=8.0.0"
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"pre-commit>=3.0.0"
]
docs = [
"sphinx>=6.0.0",
"sphinx-rtd-theme>=1.2.0",
"myst-parser>=1.0.0"
]
test = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"httpx-mock>=0.10.0"
]
[project.urls]
Homepage = "https://github.com/rsp2k/vultr-dns-mcp"
Documentation = "https://vultr-dns-mcp.readthedocs.io/"
Repository = "https://github.com/rsp2k/vultr-dns-mcp.git"
"Bug Tracker" = "https://github.com/rsp2k/vultr-dns-mcp/issues"
Changelog = "https://github.com/rsp2k/vultr-dns-mcp/blob/main/CHANGELOG.md"
[project.scripts]
vultr-dns-mcp = "vultr_dns_mcp.cli:main"
vultr-dns-server = "vultr_dns_mcp.cli:server_command"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
vultr_dns_mcp = ["py.typed"]
[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311", "py312"]
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
known_first_party = ["vultr_dns_mcp"]
[tool.mypy]
python_version = "3.8"
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
show_error_codes = true
[[tool.mypy.overrides]]
module = ["fastmcp.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--strict-config",
"--verbose",
"--tb=short",
"--cov=vultr_dns_mcp",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-report=xml",
"--cov-fail-under=80"
]
asyncio_mode = "auto"
markers = [
"unit: Unit tests that test individual components in isolation",
"integration: Integration tests that test component interactions",
"mcp: Tests specifically for MCP server functionality",
"slow: Tests that take a long time to run"
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning"
]
[tool.coverage.run]
source = ["src/vultr_dns_mcp"]
omit = [
"*/tests/*",
"*/test_*",
"*/__pycache__/*"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:"
]