-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (56 loc) · 1.41 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (56 loc) · 1.41 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "python-agent-web"
version = "0.1.0"
description = "Web/API platform for python-agent-harness: controller, auth, billing, secrets."
authors = [{ name = "Huming Chen", email = "[email protected]" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115",
"uvicorn>=0.30",
"sqlalchemy>=2.0",
"alembic>=1.13",
"pydantic-settings>=2.0",
"pyjwt>=2.8",
"cryptography>=42.0",
"httpx>=0.27",
"sse-starlette>=2.0",
"python-multipart>=0.0.9",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"coverage[toml]>=7.0",
"ruff>=0.6",
"pyright>=1.1.380",
]
[tool.setuptools.packages.find]
include = ["app*"]
[tool.ruff]
line-length = 100
target-version = "py311"
# Alembic-generated migration scripts follow the tool's own template
# (old-style typing, its import order); env.py is hand-written and stays linted.
extend-exclude = ["migrations/versions"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM"]
ignore = ["E501", "B008"]
[tool.pyright]
include = ["app"]
pythonVersion = "3.11"
typeCheckingMode = "standard"
[tool.coverage.run]
branch = true
source = ["app"]
[tool.coverage.report]
fail_under = 85
show_missing = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]