-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
66 lines (54 loc) · 1.43 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
58
59
60
61
62
63
64
65
66
[tool.pylint.format]
good-names = ["x", "y", "z", "i", "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",
]
[tool.pyright]
typeCheckingMode = "strict"
stubPath = "server/typings"
reportUnknownVariableType = false
reportUnknownMemberType = false
reportMissingTypeStubs = false
reportPrivateUsage = false
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = "single"
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.poetry]
name = "CapGen"
version = "0.1.0"
description = ""
authors = ["winstxnhdw <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">= 3.11, < 3.13"
faster-whisper = "^1.0.3"
nvidia-cudnn-cu12 = { version = "8.9.7.29", optional = true }
nvidia-cublas-cu12 = { version = "^12.6.4.1", optional = true }
[tool.poetry.group.server.dependencies]
granian = "^1.6.3"
litestar = "^2.13.0"
pydantic-settings = "^2.6.1"
uvloop = { version = "^0.21.0", markers = "sys_platform != 'win32'" }
picologging = "^0.9.3"
[tool.poetry.group.dev.dependencies]
pyright = "^1.1.389"
pylint = "^3.3.1"
pytest = "^8.3.3"
ruff = "^0.7.4"
httpx = "^0.27.2"
[tool.poetry.extras]
cuda = ["nvidia-cudnn-cu12", "nvidia-cublas-cu12"]
[tool.poetry.scripts]
capgen = "capgen:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"