[project] name = "aegis-gitea-mcp" version = "0.1.0" description = "Private, security-first MCP server for controlled AI access to self-hosted Gitea" authors = [ {name = "AegisGitea MCP Contributors"} ] readme = "README.md" requires-python = ">=3.10" license = {text = "MIT"} keywords = ["mcp", "gitea", "ai", "security", "audit"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] dependencies = [ "fastapi>=0.109.0", "uvicorn[standard]>=0.27.0", "httpx>=0.26.0", "pydantic>=2.5.0", "pydantic-settings>=2.1.0", "python-dotenv>=1.0.0", "structlog>=24.1.0", ] [project.optional-dependencies] dev = [ "pytest>=7.4.0", "pytest-asyncio>=0.23.0", "pytest-cov>=4.1.0", "pytest-httpx>=0.28.0", "black>=24.1.0", "ruff>=0.1.0", "mypy>=1.8.0", "pre-commit>=3.6.0", ] [project.urls] Homepage = "https://github.com/your-org/AegisGitea-MCP" Documentation = "https://github.com/your-org/AegisGitea-MCP/blob/main/README.md" Repository = "https://github.com/your-org/AegisGitea-MCP.git" Issues = "https://github.com/your-org/AegisGitea-MCP/issues" [build-system] requires = ["setuptools>=68.0.0", "wheel"] build-backend = "setuptools.build_meta" [tool.setuptools] packages = ["aegis_gitea_mcp"] package-dir = {"" = "src"} [tool.black] line-length = 100 target-version = ['py310', 'py311', 'py312'] include = '\.pyi?$' [tool.ruff] line-length = 100 target-version = "py310" 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 black) "B008", # do not perform function calls in argument defaults ] [tool.ruff.per-file-ignores] "__init__.py" = ["F401"] [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 no_implicit_optional = true warn_redundant_casts = true warn_unused_ignores = true warn_no_return = true strict_equality = true [[tool.mypy.overrides]] module = "tests.*" disallow_untyped_defs = false [tool.pytest.ini_options] minversion = "7.0" addopts = "-ra -q --strict-markers --cov=aegis_gitea_mcp --cov-report=term-missing" testpaths = ["tests"] pythonpath = ["src"] asyncio_mode = "auto" [tool.coverage.run] source = ["src"] omit = ["tests/*", "**/__pycache__/*"] [tool.coverage.report] exclude_lines = [ "pragma: no cover", "def __repr__", "raise AssertionError", "raise NotImplementedError", "if __name__ == .__main__.:", "if TYPE_CHECKING:", "@abstractmethod", ]