-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (68 loc) · 1.7 KB
/
pyproject.toml
File metadata and controls
77 lines (68 loc) · 1.7 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
70
71
72
73
74
75
76
77
[project]
name = "middleman-ai"
version = "0.3.2"
description = "Python client SDK for Middleman.ai API"
authors = [{ name = "Generative Agents, Inc." }]
dependencies = [
"requests>=2",
"pydantic>=2",
"typing-extensions",
"click>=8.0.0",
"mcp[cli]>=1.6.0",
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "MIT" }
[project.scripts]
middleman = "middleman_ai.cli.main:cli"
mcp-server = "middleman_ai.cli.main:mcp_server"
[build-system]
requires = ["setuptools>=64", "wheel"]
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
[tool.ruff]
line-length = 88
target-version = "py38"
lint.select = ["E", "F", "I", "N", "W", "B", "UP", "PL", "RUF"]
lint.ignore = ["RUF001", "RUF002", "RUF022", "N818"]
[tool.ruff.lint.isort]
known-first-party = ["middleman_ai"]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = ["PLR2004"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-ra -q"
[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
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
plugins = ["pydantic.mypy"]
[tool.uv]
dev-dependencies = [
"mypy>=1.14.1",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"pytest-vcr>=1.0.2",
"python-dotenv>=1.0.1",
"ruff>=0.9.6",
"setuptools>=75.8.0",
"setuptools-scm>=8.1.0",
"twine>=6.1.0",
"types-requests>=2.32.0.20241016",
"vcrpy>=5.1.0",
"wheel>=0.45.1",
"black>=25.1.0",
]