pyproject.toml•2.87 kB
[project]
name = "unimus-mcp-server"
version = "1.0.0"
description = "A read-only MCP server for Unimus network configuration management"
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Unimus MCP Server Contributors" }
]
keywords = ["unimus", "mcp", "network", "configuration", "management"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Networking",
"Topic :: System :: Systems Administration",
]
dependencies = [
"mcp>=1.3.0",
"requests>=2.31.0",
"PyYAML>=6.0.0",
"tomli>=2.0.0; python_version<'3.11'",
"cachetools>=5.3.0",
"diskcache>=5.6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
"types-requests>=2.31.0",
"types-PyYAML>=6.0.0",
]
[project.urls]
Homepage = "https://github.com/Deployment-Team/unimus-mcp"
Repository = "https://github.com/Deployment-Team/unimus-mcp"
Issues = "https://github.com/Deployment-Team/unimus-mcp/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["."]
exclude = [
"/.venv",
"/.git",
"/__pycache__",
"*.pyc",
".pytest_cache",
".mypy_cache",
"tests/",
".env*",
]
[tool.black]
line-length = 100
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.10"
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
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--cov=.",
"--cov-report=html",
"--cov-report=term-missing",
"--cov-report=xml",
"--strict-markers",
"-v"
]
markers = [
"unit: Unit tests with mocked dependencies",
"integration: Integration tests requiring live Unimus instance",
"slow: Tests that take longer to run",
"network: Tests that require network access",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]