-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
46 lines (39 loc) · 972 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
[project]
name = "whisper-openai-api"
version = "1.0.0"
description = "Whisper OpenAI API"
requires-python = ">=3.10"
license = { text = "MIT" }
dependencies = [
"transformers==4.46.1",
"accelerate==1.0.1",
"openai==1.43.0",
"uvicorn==0.32.0",
"fastapi==0.115.3",
"pydantic==2.9.2",
"python-multipart==0.0.12",
]
[project.optional-dependencies]
dev = [
"ruff==0.6.5",
"pre-commit==3.6.2",
]
test = [
"pytest==8.3.3",
]
[tool.setuptools]
py-modules = []
[tool.ruff]
line-length = 150
[tool.ruff.lint]
ignore = ["F403", "F841"] # import * and never used variables
[tool.ruff.lint.isort]
force-sort-within-sections = true
known-first-party = ["utils", "schemas", "endpoints"]
forced-separate = ["tests"]
[tool.ruff.lint.isort.sections]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
[tool.pytest.ini_options]
addopts = "--exitfirst --log-cli-level=INFO"
testpaths = ["app/tests"]
minversion = "8.2.2"