mirror of
https://github.com/torproject/gettor.git
synced 2024-12-12 20:45:55 +00:00
bff816b0d1
Update code and repository structure Lay foundation to add testing and testing coverage
35 lines
789 B
INI
35 lines
789 B
INI
[run]
|
|
source = gettor
|
|
branch = True
|
|
#parallel = True
|
|
timid = False
|
|
|
|
[report]
|
|
omit =
|
|
*/_langs*
|
|
*/_version*
|
|
*/__init__*
|
|
*/sitecustomize*
|
|
*/test/*
|
|
# 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:
|
|
if self[.verbosity.]
|
|
if options[.verbosity.]
|
|
def __repr__
|
|
if __name__ == .__main__.:
|
|
except Exception as impossible:
|
|
# Ignore source code which cannot be found:
|
|
ignore_errors = True
|
|
# Exit with status code 2 if under this percentage is covered:
|
|
fail_under = 80
|
|
|
|
[html]
|
|
directory = doc/coverage-html
|