-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (54 loc) · 1.45 KB
/
Copy pathpyproject.toml
File metadata and controls
60 lines (54 loc) · 1.45 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
[project]
name = "rtvoice"
version = "0.7.0"
description = "Real-time voice assistant built on OpenAI's Realtime API"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"pydantic>=2.11.7",
"openai>=2.14.0",
"python-dotenv>=1.2.1",
"websockets>=15.0.1",
]
[project.optional-dependencies]
audio = ["sounddevice>=0.5.1"]
[dependency-groups]
dev = [
"black>=25.1.0",
"griffe-typingdoc>=0.3.1",
"mkdocs>=1.6.1",
"mkdocs-material>=9.7.4",
"mkdocstrings[python]>=1.0.3",
"pre-commit>=4.5.0",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"ruff>=0.9.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py313"
line-length = 88
extend-exclude = [".venv", "dist", "build"]
[tool.ruff.lint]
select = ["E","F","I","UP","B","SIM","PL","RUF","C90"]
ignore = [
"E501", # line too long
"E402", # imports not at top of file
"PLC0415", # import should be at top-level
"PLR2004", # magic values
"PLR0911", # too many return statements
"PLR0912", # too many branches
"PLR0913", # too many arguments
"PLR0915", # too many statements
"C901", # function too complex
"RUF006", # create_task return value not stored
"PLW0603", # global statement
"PLW2901", # loop variable overwritten
"RUF001", # en dash, etc.
"UP046", # derive from generic base class
]
[tool.ruff.format]
quote-style = "double"
docstring-code-format = true