-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (67 loc) · 1.2 KB
/
pyproject.toml
File metadata and controls
72 lines (67 loc) · 1.2 KB
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
[project]
name = "audio-stream-server"
version = "0.1.0"
description = "Stream MP3 from Youtube videos over HTTP"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi",
"uvicorn",
"pydantic",
"jinja2",
"openai>=1.0.0",
"google-genai",
"httpx",
"python-dotenv",
"apscheduler>=3.10.0",
"pytz",
"beautifulsoup4>=4.12.0",
"elevenlabs>=1.0.0",
"edge-tts>=6.1.9",
"pre-commit>=4.5.1",
"mistralai>=1.12.0",
]
[project.optional-dependencies]
test = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.12.0",
"pytest-asyncio>=0.23.0",
"httpx>=0.26.0",
]
dev = [
"mypy>=1.8.0",
"black>=24.0.0",
"ruff>=0.8.0",
"pre-commit>=4.0.0",
]
[tool.black]
line-length = 100
target-version = ['py312']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.12"
warn_unused_configs = true
# Ignore common patterns for now
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[dependency-groups]
dev = [
"black>=26.1.0",
"mypy>=1.19.1",
"types-requests>=2.32.4.20260107",
]