Skip to content

Commit 2effdb0

Browse files
committed
Add coverage.py multiprocessing config
https://coverage.readthedocs.io/en/coverage-5.3/config.html > concurrency (multi-string, default “thread”): the name concurrency > libraries in use by the product code. If your program uses > multiprocessing, gevent, greenlet, or eventlet, you must name that > library in this option, or coverage.py will produce very wrong results.
1 parent 0cda29d commit 2effdb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[tool.coverage.run]
2+
concurrency = ["multiprocessing"]
3+
14
[tool.isort]
25
profile = "black"
36
src_paths = ["inboard", "tests"]

0 commit comments

Comments
 (0)