pyproject.toml•2.72 kB
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "workflowy-mcp"
version = "0.3.3"
description = "MCP server for WorkFlowy API integration"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Vlad Arbatov", email = "vlad@arbatov.dev"},
]
keywords = ["mcp", "workflowy", "api", "automation"]
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 = [
"fastmcp>=0.1.0",
"httpx>=0.25.0",
"pydantic>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"mypy>=1.5.0",
"ruff>=0.1.0",
"python-dotenv>=1.0.0", # For development with .env files
]
[project.urls]
Homepage = "https://github.com/vladzima/workflowy-mcp"
Issues = "https://github.com/vladzima/workflowy-mcp/issues"
[project.scripts]
workflowy-mcp = "workflowy_mcp.__main__:main"
[tool.hatch.build]
include = [
"src/workflowy_mcp/**/*.py",
"README.md",
"LICENSE",
]
[tool.hatch.build.targets.wheel]
packages = ["src/workflowy_mcp"]
[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)
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_any_unimported = false
no_implicit_optional = true
check_untyped_defs = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"
addopts = [
"--strict-markers",
"--verbose",
"--cov=workflowy_mcp",
"--cov-report=term-missing",
"--cov-report=html",
]
[tool.coverage.run]
source = ["src/workflowy_mcp"]
omit = ["*/tests/*", "*/__pycache__/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]