Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.62 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (65 loc) · 1.62 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
[project]
name = "auto_k8s_pilot"
version = "0.1.3"
description = "auto-k8s-pilot using crewAI"
authors = [{ name = "Your Name", email = "you@example.com" }]
requires-python = ">=3.10,<3.14"
dependencies = [
"crewai>=0.165.1,<1.0.0",
# FastAPI
"fastapi>=0.115.0",
"uvicorn>=0.32.0",
"pydantic>=2.10.0",
"pydantic-settings>=2.6.0",
# OpenTelemetry
"opentelemetry-api>=1.28.0",
"opentelemetry-sdk>=1.28.0",
"opentelemetry-instrumentation-fastapi>=0.49b0",
"opentelemetry-exporter-otlp-proto-http>=1.28.0",
# Logging
"structlog>=24.4.0",
# Utils
"pyyaml>=6.0.2",
"python-dotenv>=1.0.1",
"requests>=2.32.0",
]
[project.scripts]
auto_k8s_pilot = "auto_k8s_pilot.main:run"
run_crew = "auto_k8s_pilot.main:run"
api = "auto_k8s_pilot.api:main"
train = "auto_k8s_pilot.main:train"
replay = "auto_k8s_pilot.main:replay"
test = "auto_k8s_pilot.main:test"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/auto_k8s_pilot"]
[tool.crewai]
type = "crew"
[dependency-groups]
dev = [
"pytest>=8.4.1",
"pytest-mock>=3.14.1",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
"httpx>=0.28.1",
"mypy>=1.13.0",
"ruff>=0.8.0",
"types-pyyaml>=6.0.12",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
addopts = "-v"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_ignores = true
ignore_missing_imports = true