summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/tools/third_party/pytest/.coveragerc
blob: a335557d4f146f002a998e9fb17cf80288c72aa3 (plain)
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
[run]
include =
  src/*
  testing/*
  */lib/python*/site-packages/_pytest/*
  */lib/python*/site-packages/pytest.py
  */pypy*/site-packages/_pytest/*
  */pypy*/site-packages/pytest.py
  *\Lib\site-packages\_pytest\*
  *\Lib\site-packages\pytest.py
parallel = 1
branch = 1

[paths]
source = src/
  */lib/python*/site-packages/
  */pypy*/site-packages/
  *\Lib\site-packages\

[report]
skip_covered = True
show_missing = True
exclude_lines =
    \#\s*pragma: no cover
    ^\s*raise NotImplementedError\b
    ^\s*return NotImplemented\b
    ^\s*assert False(,|$)
    ^\s*assert_never\(

    ^\s*if TYPE_CHECKING:
    ^\s*@overload( |$)