forked from richardsheridan/trio-parallel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
46 lines (39 loc) · 1.24 KB
/
pyproject.toml
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
[build-system]
# keep me in sync with build.in!
requires = ["setuptools >= 45", "wheel", "setuptools_scm[toml] >= 7.0.5"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.towncrier]
package = "trio_parallel"
filename = "docs/source/history.rst"
directory = "newsfragments"
name = "trio-parallel"
underlines = ["-", "~", "^"]
issue_format = "`#{issue} <https://github.com/richardsheridan/trio-parallel/issues/{issue}>`__"
[tool.pytest.ini_options]
addopts = "--pyargs -r a --verbose --cov --cov-config=pyproject.toml --cov-context=test"
filterwarnings = ["error"]
xfail_strict = true
faulthandler_timeout = 60
[tool.coverage.run]
branch = true
concurrency = ["multiprocessing", "thread"]
parallel = true
source_pkgs = ["trio_parallel", "_trio_parallel_workers"]
disable_warnings = [
"module-not-imported", # for test_clean_exit_on_shutdown
"module-not-measured", # for fork shutdown tests
"no-data-collected", # for fork shutdown tests
]
[tool.coverage.report]
precision = 1
exclude_lines = [
"pragma: no cover",
"abc.abstractmethod",
"abstractmethod",
]
[tool.coverage.html]
show_contexts = true
[tool.coverage.paths]
source = ["trio_parallel/", "*/trio_parallel"]
workers = ["_trio_parallel_workers/", "*/_trio_parallel_workers"]