-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
57 lines (49 loc) · 1.11 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
[tool.pylint.format]
good-names = ["x", "y", "z", "id", "ok"]
[tool.pylint.messages_control]
disable = [
"missing-module-docstring",
"no-name-in-module",
"useless-import-alias",
"line-too-long",
"too-many-arguments",
"too-few-public-methods",
"too-many-instance-attributes",
]
[tool.pyright]
stubPath = "server/typings"
reportUnknownVariableType = false
reportUnknownMemberType = false
reportMissingTypeStubs = false
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = "single"
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.poetry]
name = "llm-api"
version = "0.1.0"
description = ""
authors = ["winstxnhdw <you@example.com>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
typing-extensions = "^4.12.2"
fastapi = "^0.112.2"
pydantic-settings = "^2.4.0"
uvloop = "^0.20.0"
gunicorn = "^23.0.0"
uvicorn = "^0.30.6"
httptools = "^0.6.1"
ctranslate2 = "^4.3.1"
transformers = "^4.44.2"
sentencepiece = "^0.2.0"
protobuf = "^5.27.4"
jinja2 = "^3.1.4"
[tool.poetry.group.dev.dependencies]
pyright = "^1.1.377"
pylint = "^3.2.6"
pytest = "^8.3.2"
ruff = "^0.6.2"