-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (57 loc) · 1.4 KB
/
pyproject.toml
File metadata and controls
69 lines (57 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[project]
name = "meta-ads-mcp"
version = "0.1.0"
description = "MCP server wrapping the Meta (Facebook) Ads API for agency/multi-client ad management"
authors = [{name = "Tom Long"}]
license = {text = "Apache-2.0"}
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"mcp>=1.26",
"facebook-business>=25.0",
"pydantic>=2.0",
"python-decouple>=3.8",
]
[project.scripts]
meta-ads-mcp = "meta_ads_mcp.server:main"
[dependency-groups]
dev = [
"pytest>=9.0",
"pytest-asyncio>=1.3.0",
"pytest-mock>=3.14",
"pytest-cov>=7.0",
"black>=26.0",
"ruff>=0.15",
"mypy>=1.13",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/meta_ads_mcp"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.black]
line-length = 88
target-version = ["py312"]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["N806"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disable_error_code = ["import-untyped"]
[[tool.mypy.overrides]]
module = ["decouple", "facebook_business.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["meta_ads_mcp.tools.*"]
disable_error_code = ["type-arg"]