-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (120 loc) · 3.11 KB
/
pyproject.toml
File metadata and controls
132 lines (120 loc) · 3.11 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[project]
name = "dispatch-cli"
version = "0.8.3"
description = ""
authors = [
{name = "Diamond Bishop", email = "diamond.bishop@datadoghq.com"},
{name = "Matt Pillari", email = "matthew.pillari@datadoghq.com"},
{name = "Jacob LeGrone", email = "jacob.legrone@datadoghq.com"}
]
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"typer>=0.16.1",
"rich",
"toml",
"requests>=2.32.5",
"tomlkit>=0.13.3",
"black>=25.11.0",
"isort>=6.1.0",
"requests-toolbelt>=1.0.0",
"dispatch_agents",
"aiohttp>=3.13.3",
"fastapi>=0.118.3",
"grpcio>=1.78.0",
"uvicorn>=0.38.0",
"types-toml>=0.10.8.20240310",
"mcp>=1.26.0",
"packaging>=24.2",
"platformdirs>=4.5.1",
"watchfiles>=1.1.1",
"protobuf==6.33.5",
"questionary>=2.0.1",
"pathspec>=1.0.4",
]
[dependency-groups]
dev = [
"pytest>=7.0.0",
"pytest-mock>=3.10.0",
"mypy>=1.18.2",
"ruff>=0.8.0",
"types-PyYAML",
"types-requests",
"pytest-cov>=7.0.0",
]
[project.scripts]
dispatch = "dispatch_cli.main:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["dispatch_cli"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--tb=short",
"--strict-markers"
]
markers = [
"unit: marks tests as unit tests (fast)",
"integration: marks tests as integration tests (slower)",
"e2e: marks tests as end-to-end tests (slowest)"
]
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
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 formatter)
"B007", # unused loop control variable
"B008", # do not perform function calls in argument defaults
"B023", # function does not bind loop variable
"B904", # raise ... from err
"B905", # zip() without explicit strict parameter
"C403", # unnecessary list comprehension
"C416", # unnecessary dict comprehension
"C901", # too complex
"W191", # indentation contains tabs
"E402", # module level import not at top of file
"F822", # undefined name in __all__
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.11"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
explicit_package_bases = true
[[tool.mypy.overrides]]
module = [
"agents.agents",
"agent_registry",
"auth.service",
"infrastructure.factory",
"infrastructure.test_interfaces",
"scripts.deploy_ecs_fargate",
"api.unstable.agents",
"api.unstable.memory",
"main",
]
disable_error_code = ["no-any-return", "attr-defined", "arg-type", "return-value", "dict-item", "union-attr", "assignment", "list-item", "operator"]