-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (58 loc) · 1.66 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (58 loc) · 1.66 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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "asr-client"
description = "Techmo ASR Client"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [{ name = "Techmo sp. z o.o", email = "[email protected]" }]
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
"grpcio>=1.63.0,<1.71.0; python_version=='3.8'",
"grpcio>=1.63.0; python_version>='3.9'",
"protobuf>=5.26.0,<6",
"pyaudio>=0.2.12",
"pydub>=0.25.1",
"audioop-lts>=0.2.2; python_version>='3.13'",
"techmo-asr-api @ git+https://github.com/techmo-pl/[email protected]",
]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-cov>=4.0",
]
[project.scripts]
asr-client = "asr_client.__main__:main"
[project.urls]
repository = "https://github.com/techmo-pl/asr-client-python"
[tool.setuptools.dynamic]
version = { attr = "asr_client.VERSION.__version__" }
[tool.setuptools.packages.find]
include = ["asr_client*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--strict-markers"]
[tool.coverage.run]
source_pkgs = ["asr_client"]
relative_files = true
[tool.coverage.report]
precision = 1
show_missing = true
# Pre-existing mypy issues are tracked per-module below.
# New code should be written with full strict compliance.
[[tool.mypy.overrides]]
module = [
"asr_client.__main__",
"asr_client.audio_processing",
"asr_client.dictation",
"asr_client.v1",
]
ignore_errors = true
[[tool.mypy.overrides]]
module = ["asr_client"]
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_decorators = false
disallow_untyped_calls = false