pyproject.toml•3.62 kB
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "godot-mcp"
version = "0.1.0"
description = "MCP server for deep semantic understanding of Godot projects with ECS architecture validation"
readme = "README.md"
requires-python = ">=3.14"
license = {text = "MIT"}
authors = [
{name = "Purlieu Studios", email = "contact@purlieu.studio"}
]
keywords = [
"godot",
"mcp",
"model-context-protocol",
"ecs",
"game-development",
"architecture",
"static-analysis"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Games/Entertainment",
]
dependencies = [
"mcp>=0.1.0",
"pydantic>=2.0.0",
"aiofiles>=23.0.0",
"watchdog>=3.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"pytest-benchmark>=4.0.0",
"mypy>=1.5.0",
"ruff>=0.1.0",
"black>=23.0.0",
"isort>=5.12.0",
]
[project.urls]
Homepage = "https://github.com/PurlieuStudios/godot-mcp"
Documentation = "https://github.com/PurlieuStudios/godot-mcp#readme"
Repository = "https://github.com/PurlieuStudios/godot-mcp"
Issues = "https://github.com/PurlieuStudios/godot-mcp/issues"
[project.scripts]
godot-mcp = "godot_mcp.server:main"
[tool.setuptools.packages.find]
where = ["src"]
include = ["godot_mcp*"]
[tool.setuptools.package-data]
godot_mcp = ["py.typed"]
# Pytest configuration
[tool.pytest.ini_options]
minversion = "7.0"
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
"--cov=godot_mcp",
"--cov-report=term-missing",
"--cov-report=html",
]
testpaths = ["tests"]
pythonpath = ["src"]
# Coverage configuration
[tool.coverage.run]
source = ["src"]
branch = true
omit = [
"*/tests/*",
"*/test_*.py",
]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
# Mypy configuration
[tool.mypy]
python_version = "3.14"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
follow_imports = "normal"
ignore_missing_imports = false
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
# Ruff configuration
[tool.ruff]
target-version = "py314"
line-length = 88
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by black)
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.isort]
known-first-party = ["godot_mcp"]
# Black configuration
[tool.black]
line-length = 88
target-version = ["py314"]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.mypy_cache
| \.pytest_cache
| \.ruff_cache
| \.venv
| venv
| build
| dist
)/
'''
# isort configuration
[tool.isort]
profile = "black"
line_length = 88