-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (44 loc) · 1.24 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
[project]
name = "tai"
version = "0.0.0"
description = "Our DeltaHacks X backend."
authors = [{ name = "Vidhan Bhatt", email = "[email protected]" }]
readme = "README.md"
requires-python = ">= 3.12"
classifiers = ["Private :: Do Not Upload"]
dependencies = [
"jinja2>=3.1.3",
"fastapi>=0.109.0",
"uvicorn[standard]>=0.25.0",
"python-multipart>=0.0.6",
"cohere>=4.42",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pyright>=1.1.344",
"ruff>=0.1.11",
"pytest>=7.4.4",
"djlint>=1.34.1",
]
[tool.rye.scripts]
"watch-css" = { cmd = "tailwindcss -i styles.input.css -o static/styles.css -w" }
"dev" = { cmd = "uvicorn src.tai.__main__:app --reload" }
"test" = { cmd = "pytest" }
"check" = { chain = ["check:code", "check:types", "check:format"] }
"check:code" = { cmd = "ruff check" }
"check:types" = { cmd = "pyright" }
"check:format" = { cmd = "ruff format --check" }
"format" = { cmd = "ruff format" }
[tool.ruff]
extend-select = ["ANN"]
[tool.pyright]
typeCheckingMode = "strict"
[tool.hatch]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/tai"]