pyproject.toml•1.29 kB
[project]
name = "mcp-odoo-shell"
version = "0.1.0"
description = "MCP server providing access to Odoo shell environment"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"mcp",
"pip==25.1.1",
"pytest>=8.4.0",
"setuptools==80.9.0",
]
[project.optional-dependencies]
dev = [
"ipdb",
"ipython",
"pytest",
"pytest-cov",
"pytest-asyncio",
"ruff"
]
[project.scripts]
odoo-shell-mcp = "mcp_odoo_shell.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.ruff]
target-version = "py311"
line-length = 88
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
"C901", # too complex
]
[tool.ruff.per-file-ignores]
"tests/*" = ["S101"] # allow assert in tests
[tool.ruff.isort]
known-first-party = ["mcp_odoo_shell"]
[tool.hatch.build.targets.wheel]
packages = ["src/mcp_odoo_shell"]