131 lines
3.3 KiB
TOML
131 lines
3.3 KiB
TOML
[project]
|
|
name = "agile-project-mcp"
|
|
version = "0.1.0"
|
|
description = "An OpenAPI-compatible server providing virtual agile project management tools for AI agents."
|
|
readme = "README.md"
|
|
license = { text = "AGPL-3.0-or-later" }
|
|
authors = [{ name = "Tom Foster", email = "tom@tcpip.uk" }]
|
|
maintainers = [{ name = "Tom Foster", email = "tom@tcpip.uk" }]
|
|
requires-python = ">=3.13"
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
"Framework :: FastAPI",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.13",
|
|
]
|
|
dependencies = [
|
|
"fastapi>=0",
|
|
"pydantic>=2",
|
|
"pydantic-settings>=2",
|
|
"python-multipart>=0",
|
|
"httpx>=0",
|
|
"uvicorn[standard]>=0",
|
|
"pyyaml>=6",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://git.tomfos.tr/tom/agile-project-mcp"
|
|
"Bug Reports" = "https://git.tomfos.tr/tom/agile-project-mcp/issues"
|
|
"Source" = "https://git.tomfos.tr/tom/agile-project-mcp"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0",
|
|
"pytest>=8",
|
|
"pytest-asyncio>=0",
|
|
"pytest-cov>=0",
|
|
"pytest-mock>=0",
|
|
"respx>=0",
|
|
]
|
|
|
|
[tool.uv]
|
|
package = true
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project.scripts]
|
|
agile-project-mcp-server = "agile_project_mcp.__main__:launch"
|
|
|
|
[tool.setuptools]
|
|
packages = { find = {} }
|
|
|
|
[tool.ruff]
|
|
cache-dir = "/tmp/.ruff_cache"
|
|
fix = true
|
|
line-length = 100
|
|
preview = true
|
|
show-fixes = false
|
|
target-version = "py313"
|
|
unsafe-fixes = true
|
|
|
|
[tool.ruff.format]
|
|
line-ending = "auto"
|
|
skip-magic-trailing-comma = false
|
|
|
|
[tool.ruff.lint]
|
|
fixable = ["ALL"]
|
|
ignore = [
|
|
"ANN401", # use of Any type
|
|
"BLE001", # blind Exception usage
|
|
"COM812", # missing trailing comma
|
|
"CPY", # flake8-copyright
|
|
"FBT", # boolean arguments
|
|
"PLR0912", # too many branches
|
|
"PLR0913", # too many arguments
|
|
"PLR0915", # too many statements
|
|
"PLR0917", # too many positional arguments
|
|
"PLR6301", # method could be static
|
|
"RUF029", # async methods that don't await
|
|
"S104", # binding to all interfaces
|
|
"S110", # passed exceptions
|
|
"TRY301", # raise inside try block
|
|
]
|
|
select = ["ALL"]
|
|
unfixable = [
|
|
"F841", # local variable assigned but never used
|
|
"RUF100", # unused noqa comments
|
|
"T201", # don't strip print statement
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
combine-as-imports = true
|
|
required-imports = ["from __future__ import annotations"]
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
convention = "google"
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/**/*.py" = [
|
|
"ANN202", # missing return type annotation for private function
|
|
"ANN401", # use of Any type
|
|
"PLR2004", # magic value used in comparison
|
|
"S101", # use of assert detected
|
|
"S106", # possible hardcoded password
|
|
"SLF001", # private member accessed
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
asyncio_mode = "auto"
|
|
addopts = [
|
|
"--strict-markers",
|
|
"--strict-config",
|
|
"--cov=agile_project_mcp",
|
|
"--cov-report=html",
|
|
"--cov-report=term-missing",
|
|
"--cov-fail-under=80",
|
|
]
|
|
markers = [
|
|
"unit: Unit tests",
|
|
"integration: Integration tests",
|
|
"e2e: End-to-end tests",
|
|
"slow: Slow running tests",
|
|
]
|