-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.19 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (50 loc) · 1.19 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
[project]
name = "codebuddy2api"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi==0.104.1",
"uvicorn==0.24.0",
"hypercorn==0.15.0",
"httpx==0.25.2",
"pydantic==2.5.0",
"python-multipart==0.0.6",
"requests==2.31.0",
"PyJWT==2.8.0",
"loguru>=0.7.3",
"PyYAML>=6.0",
]
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[project.optional-dependencies]
dev = [
"mypy>=2.1.0",
"pyright>=1.1.410",
"pytest>=9.1.0",
"pytest-asyncio>=1.4.0",
"ruff>=0.15.17",
]
[[tool.uv.index]]
name = "aliyun"
url = "https://mirrors.aliyun.com/pypi/simple/"
[[tool.uv.index]]
name = "tencent"
url = "https://mirrors.cloud.tencent.com/pypi/simple/"
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
disable_error_code = ["no-any-return", "assignment", "attr-defined", "return-value"]
[tool.pytest.ini_options]
asyncio_mode = "auto"