File: .coveragerc

package info (click to toggle)
python-ebooklib 0.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 708 kB
  • sloc: python: 2,541; makefile: 132; sh: 53
file content (21 lines) | stat: -rw-r--r-- 485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[run]
# Specify directories/files to include for coverage measurement
source = ebooklib/

# Specify directories/files to exclude from coverage
omit = samples/*, tests/*

[report]
# Fail if total coverage is below this percentage
fail_under = 65

# Exclude lines matching these regular expressions
exclude_lines =
    pragma: no cover
    if TYPE_CHECKING:
    raise NotImplementedError
    if __name__ == .__main__.:

[html]
# Directory for the HTML report
directory = htmlcov_reports