Add .coveragerc file.
parent
94f81c3226
commit
76d70c68aa
|
@ -0,0 +1,33 @@
|
|||
[run]
|
||||
source =
|
||||
gnupg
|
||||
branch = True
|
||||
#parallel = True
|
||||
timid = True
|
||||
|
||||
[report]
|
||||
modules = gnupg
|
||||
omit =
|
||||
*/test*
|
||||
*/_version*
|
||||
*/__init__*
|
||||
*/copyleft*
|
||||
*/sitecustomize*
|
||||
# Regexes for lines to exclude from report generation:
|
||||
exclude_lines =
|
||||
pragma: no cover
|
||||
# don't complain if the code doesn't hit unimplemented sections:
|
||||
raise NotImplementedError
|
||||
pass
|
||||
# don't complain if non-runnable or debuging code isn't run:
|
||||
if 0:
|
||||
if False:
|
||||
def __repr__
|
||||
if __name__ == .__main__.:
|
||||
# Ignore source code which cannot be found:
|
||||
ignore_errors = True
|
||||
# Exit with status code 2 if under this percentage is covered:
|
||||
fail_under = 10
|
||||
|
||||
[html]
|
||||
directory = docs/coverage-html
|
Loading…
Reference in New Issue