-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (43 loc) · 1.45 KB
/
pyproject.toml
File metadata and controls
54 lines (43 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
[build-system]
requires = ["grpcio-tools>=1.49.4,<1.71.0", "setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "techmo-asr-api"
description = "Techmo ASR API"
dynamic = ["version"]
readme = { file = "README.md", content-type = "text/markdown" }
authors = [{ name = "Techmo sp. z o.o", email = "kontakt@techmo.pl" }]
requires-python = ">=3.8"
dependencies = [
"grpcio>=1.49.4,<1.71.0; python_version=='3.8'",
"grpcio>=1.49.4; python_version>='3.9'",
"protobuf>=4.21.3,<6.0.0; python_version=='3.8'",
"protobuf>=4.21.3; python_version>='3.9'",
]
[project.optional-dependencies]
tests = ["pytest<8,>=7.4.4", "pytest-cov>=4.1", "pytest-lazy-fixture>=0.6.3"]
[project.urls]
repository = "https://github.com/techmo-pl/asr-api-python"
[tool.setuptools.dynamic]
version = { attr = "asr_api.VERSION.__version__" }
[tool.setuptools.packages.find]
include = ["asr_api*", "google*", "techmo*"]
[tool.pytest.ini_options]
addopts = ["--strict-markers"]
markers = ["""api(name): mark tests as defined for <name> API. \
Example: api('techmo.asr.api.v1p1'). \
Use the `--api=<name>` option to collect the marked tests."""]
testpaths = ["tests"]
[tool.coverage.report]
precision = 1
show_missing = true
[tool.mypy]
[[tool.mypy.overrides]]
module = ["techmo.*", "google.*"]
ignore_errors = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_decorators = false
[tool.coverage.run]
source_pkgs = ["asr_api"]
relative_files = true