diff options
Diffstat (limited to '.coveragerc')
| -rw-r--r-- | .coveragerc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..142021c --- /dev/null +++ b/.coveragerc | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | # .coveragerc to control coverage.py | ||
| 2 | [run] | ||
| 3 | branch = True | ||
| 4 | source = youtube_podcaster | ||
| 5 | # omit = bad_file.py | ||
| 6 | |||
| 7 | [report] | ||
| 8 | # Regexes for lines to exclude from consideration | ||
| 9 | exclude_lines = | ||
| 10 | # Have to re-enable the standard pragma | ||
| 11 | pragma: no cover | ||
| 12 | |||
| 13 | # Don't complain about missing debug-only code: | ||
| 14 | def __repr__ | ||
| 15 | if self\.debug | ||
| 16 | |||
| 17 | # Don't complain if tests don't hit defensive assertion code: | ||
| 18 | raise AssertionError | ||
| 19 | raise NotImplementedError | ||
| 20 | |||
| 21 | # Don't complain if non-runnable code isn't run: | ||
| 22 | if 0: | ||
| 23 | if __name__ == .__main__.: | ||
