-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (56 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
66 lines (56 loc) · 1.38 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
[project]
name = "your_module_name"
version = "0.0.1"
description = ""
authors = [{name = "Your Name", email = "you@example.com"}]
dependencies = [
"loguru>=0.7.2",
"arize-phoenix>=4.29.0",
"tokencost>=0.1.16",
"pydantic>=2.10.0",
"pydantic-settings>=2.6.0",
"litellm>=1.52.0",
"opentelemetry-sdk>=1.27.0",
"opentelemetry-exporter-otlp>=1.27.0",
"openinference-instrumentation-litellm>=0.1.0",
"fastapi>=0.115.0",
"uvicorn>=0.32.0",
]
readme = "README.md"
requires-python = ">=3.13"
[dependency-groups]
dev = [
"pytest>=8.3.0",
"pytest-cov>=6.0.0",
"httpx>=0.27.0",
"ruff>=0.7.0",
"mypy>=1.13.0",
"pre-commit>=4.0.0",
]
[project.scripts]
your_module_name = "your_module_name:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.mypy]
# Disallow dynamic typing
disallow_any_unimported=true
disallow_any_generics = true
disallow_subclassing_any = true
# Disallow untyped definitions and calls
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
# None and optional handling
no_implicit_optional = true
# Configuring warnings
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_redundant_casts = true
# Misc things
strict_equality = true
# Config file
warn_unused_configs = true