[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "time-server"
version = "1.0.0"
description = "MCP Time Server for timezone conversions"
authors = [
{ name = "Your Name", email = "your.email@example.com" }
]
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"mcp",
"pydantic>=2.0.0",
"python-dateutil",
"pytz",
"uvloop"
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-asyncio",
"mypy",
"ruff"
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 88
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C", # flake8-comprehensions
"W", # pycodestyle warnings
]
ignore = ["E203", "E266", "E501", "W503"]
[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_return_any = true
warn_unreachable = true