-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (107 loc) · 2.39 KB
/
pyproject.toml
File metadata and controls
124 lines (107 loc) · 2.39 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
[project]
name = "python-template"
version = "0.1.0"
description = "Add your description here"
authors = [
{ name = "Miyamura80", email = "eitomiyamura@gmail.com" }
]
dependencies = [
"pyyaml>=6.0.3",
"python-dotenv>=1.2.1",
"human-id>=0.2.0",
"import-linter>=2.1.1",
"pytest>=8.3.4",
"pytest-xdist>=3.6.1",
"termcolor>=2.5.0",
"loguru>=0.7.3",
"vulture>=2.14",
"dspy>=3.1.2",
"langfuse>=3.12.1",
"litellm>=1.59.8,<=1.82.6", # Pinned: v1.82.7/v1.82.8 supply chain attack (https://github.com/BerriAI/litellm/issues/24512)
"tenacity>=9.0.0",
"pillow>=12.1.0",
"google-genai>=1.60.0",
"ty>=0.0.14",
"pytest-env>=1.2.0",
"pydantic-settings>=2.7.1",
"pytest-cov>=7.0.0",
"pytest-repeat>=0.9.3",
"pylint>=3.3.3",
"deptry>=0.23.0",
"openfeature-sdk>=0.7.1",
"scrubadub>=2.0.1",
"pydantic>=2.10.6",
"numpy>=2.2.2",
"typer",
"questionary",
"rich>=14.3.1",
"tomli-w>=1.0",
]
readme = "README.md"
requires-python = ">= 3.12"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src", "common", "utils"]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM", "C901", "FIX"]
ignore = ["E501", "UP015", "B008"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ty]
[tool.ty.src]
exclude = ["scripts/sync_agent_config.py"]
[tool.ty.rules]
possibly-unresolved-reference = "error"
[tool.ty.terminal]
error-on-warning = true
[tool.ty.environment]
python-version = "3.12"
[tool.deptry]
ignore = ["DEP002"]
[tool.vulture]
exclude = [
".venv/",
".uv-cache/",
".uv_cache/",
".uv_tools/",
".uv-tools/",
"docs/",
"node_modules/",
"tests/test_logging_security.py",
"tests/test_logging_thread_safety.py",
"tests/test_template.py",
"utils/llm/",
"common/",
"src/utils/logging_config.py",
"src/utils/context.py",
"tests/conftest.py",
"init/",
"onboard.py"
]
[tool.file_length]
max_lines = 500
exclude = [
"onboard.py",
]
[tool.coverage.run]
branch = true
source = ["src", "common", "utils"]
omit = [
"tests/*",
"docs/*",
"init/*",
"alembic/*",
]
[tool.coverage.report]
show_missing = true
[dependency-groups]
dev = [
"pytest-check-links>=0.9.1",
]