Skip to content

Commit

Permalink
Add coverage.py multiprocessing config
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
br3ndonland committed Nov 26, 2020
1 parent 0cda29d commit 2effdb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
@@ -1,3 +1,6 @@
[tool.coverage.run]
concurrency = ["multiprocessing"]

[tool.isort]
profile = "black"
src_paths = ["inboard", "tests"]
Expand Down

0 comments on commit 2effdb0

Please sign in to comment.