pyproject.toml•1.37 kB
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "whois-mcp"
version = "0.1.0"
description = "MCP server providing network information lookup tools through WHOIS and RIPE Database queries"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.13"
dependencies = [
    "python-dotenv>=1.0.0",
    "httpx>=0.28.1",
    "aiohttp>=3.9.0",
    "mcp[cli]>=1.0.0",
    "pydantic>=2.0.0",
]
[project.scripts]
whois-mcp = "whois_mcp.main:main"
whois-mcp-server = "whois_mcp.server:main"
[dependency-groups]
dev = [
    "pytest>=8.4.1",
    "ruff>=0.12.12",
    "pyright>=1.1.405",
    "pre-commit>=4.0.1",
]
[tool.ruff]
target-version = "py313"
line-length = 88
src = ["src"]
[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 formatter
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pyright]
include = ["src"]
exclude = [
    "**/node_modules",
    "**/__pycache__",
    "src/experimental",
    "src/typestubs"
]
typeCheckingMode = "strict"
pythonVersion = "3.13"
[tool.pytest.ini_options]
pythonpath = ["src"]