[html]
show_contexts = true
skip_covered = false

[paths]
_site-packages-to-src-mapping =
  src
  */src
  *\src
  */lib/pypy*/site-packages
  */lib/python*/site-packages
  *\Lib\site-packages

[report]
# `fail_under` is set here temporarily until it can be dropped:
fail_under = 39.27
skip_covered = true
skip_empty = true
show_missing = true
exclude_also =
  ^\s*@pytest\.mark\.xfail

[run]
branch = true
cover_pylib = false
# https://coverage.rtfd.io/en/latest/contexts.html#dynamic-contexts
# dynamic_context = test_function  # conflicts with `pytest-cov` if set here
# FIXME: drop `omit` post https://github.com/nedbat/coveragepy/issues/1869 fix
omit =
  .tox/*/lib/pypy*/site-packages/awx_plugins/interfaces/**
  .tox/*/lib/python*/site-packages/awx_plugins/interfaces/**
  .tox\*\Lib\site-packages\awx_plugins\interfaces\**
parallel = true
plugins =
  covdefaults
relative_files = true
source =
  .
source_pkgs =
  awx_plugins
