-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (49 loc) · 1.21 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (49 loc) · 1.21 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
[tool.poetry]
name = "voicetyping"
version = "1.1.1"
description = ""
authors = ["Lukasz Jachym <lukasz.jachym@gmail.com>"]
readme = "README.md"
license = "GPL-3.0-or-later"
packages = [{include = "voicetyping"}]
[tool.poetry.dependencies]
python = "^3.12"
pydantic-settings = "^2.8.1"
dbus-next = "^0.2.3"
pyaudio = "^0.2.14"
numpy = "^1.26.0"
httpx = "^0.28.1"
python-uinput = "^1.0.1"
lameenc = "^1.8.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
pytest = "^7"
pre-commit = "^3.1.0"
mypy = "^1.0.1"
ruff = "^0.11.0"
bpython = "^0.26"
[tool.poetry.scripts]
voicetyping-server = 'voicetyping:main.server'
voicetyping-keyboard = 'voicetyping:keyboard.server'
voicetyping-transcribe = 'voicetyping.cli:transcribe'
voicetyping-record = 'voicetyping.cli.record:record'
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
testpaths = [
"tests",
]
[tool.black]
line-length = 120
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = ["uinput", "uinput.*", "lameenc", "pyaudio"]
ignore_missing_imports = true
[tool.isort]
profile = "black"
src_paths = ["voicetyping", "tests"]