-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (50 loc) · 1015 Bytes
/
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
58
59
60
61
[project]
name = "moin-moin"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"numpy==1.26.4",
"pillow==10.4.0",
]
[project.optional-dependencies]
frontend = [
"geopy==2.4.1",
"httpx==0.27.2",
"streamlit==1.40.1",
]
backend = [
"fastapi[standard]==0.115.5",
"sqlmodel==0.0.22",
"sentence-transformers==3.3.1",
"torch==2.5.1+cpu",
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = [{ index = "pytorch-cpu"}]
[project.scripts]
moin-moin = "moin_moin:main"
[build-system]
requires = [
"setuptools >= 40.9.0",
]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 120
target-version = "py312"
fix = true
lint.select=["ALL"]
lint.ignore = [
"COM812",
"ISC001",
"D203",
"D211",
"D213",
]
[tool.ruff.lint.isort]
force-single-line = true
required-imports = ["from __future__ import annotations"]