-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
57 lines (51 loc) · 1.34 KB
/
pyproject.toml
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
[project]
name = "logfire-demo"
version = "0.1.0"
description = "Demonstrate what Pydantic Logfire can do."
authors = [
{ name = "Samuel Colvin", email = "s@muelcolvin.com" }
]
dependencies = [
"fastapi>=0.110.0",
"logfire[fastapi,httpx,asyncpg,system-metrics]>=0.28.0",
"fastui>=0.5.2",
"httpx>=0.27.0",
"uvicorn[standard]>=0.28.0",
"watchfiles>=0.21.0",
"asyncpg>=0.29.0",
"pydantic-settings>=2.2.1",
"python-multipart>=0.0.9",
"openai>=1.14.1",
"tiktoken>=0.6.0",
"pillow>=10.2.0",
"arq>=0.25.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"]
[tool.rye]
managed = true
dev-dependencies = [
"ruff>=0.3.2",
"pyright>=1.1.354",
"asyncpg-stubs>=0.29.1",
"ipython>=8.22.2",
"devtools>=0.12.2",
]
[tool.rye.scripts]
dev = "uvicorn src.webui:app --reload"
tiling = "uvicorn src.tiling:app --reload --port 8001"
worker = "arq src.worker.WorkerSettings"
[tool.ruff]
line-length = 120
target-version = "py312"
lint.extend-select = ["Q", "RUF100", "C90", "UP", "I"]
lint.flake8-quotes = {inline-quotes = "single", multiline-quotes = "double"}
lint.mccabe = { max-complexity = 14 }
format.quote-style = "single"