-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (71 loc) · 1.35 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[tool.poetry]
name = "whisper-asr-worker"
version = "1.0.0"
description = "Whisper speech-to-text worker"
authors = ["Dragos Alexandru Balan <[email protected]>"]
license = "MIT"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.11"
faster-whisper = "^1.1.0"
validators = "^0.34.0"
boto3 = "^1.35.10"
fastapi = "^0.115.0"
uvicorn = "^0.30.6"
py3nvml = "^0.2.7"
[tool.poetry.group.dev.dependencies]
moto = "^5.0.13"
types-requests = "^2.28.11.2"
mypy = "^1.13.0"
flake8 = "^7.1.1"
black = "^24.10.0"
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
pytest-mock = "^3.14.0"
[tool.poetry.group.service]
optional = true
[tool.poetry.group.service.dependencies]
flask = "^3.0.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = [
"tests/",
]
addopts = [
"--cov",
"--ignore=tests/ignored",
]
[tool.coverage.run]
omit = [
"tests/*"
]
[tool.black]
line-length = 88
target_version = ['py311']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| build
| dist
| \.venv
| misc
)/
)
'''
[tool.mypy]
python_version = "3.11"
exclude = "misc"
[[tool.mypy.overrides]]
module = [
'yaml',
'faster_whisper.*',
'boto3.*',
'py3nvml.*'
]
ignore_missing_imports = true