| 1 |
# .coveragerc to control coverage.py |
| 2 |
[run] |
| 3 |
branch = True |
| 4 |
|
| 5 |
source=troveclient |
| 6 |
omit=troveclient/tests*,troveclient/compat/tests* |
| 7 |
|
| 8 |
[report] |
| 9 |
# Regexes for lines to exclude from consideration |
| 10 |
exclude_lines = |
| 11 |
# Have to re-enable the standard pragma |
| 12 |
pragma: no cover |
| 13 |
|
| 14 |
# Don't complain about missing debug-only code: |
| 15 |
def __repr__ |
| 16 |
if self\.debug |
| 17 |
|
| 18 |
# Don't complain if tests don't hit defensive assertion code: |
| 19 |
raise AssertionError |
| 20 |
raise NotImplementedError |
| 21 |
|
| 22 |
# Don't complain if non-runnable code isn't run: |
| 23 |
if 0: |
| 24 |
if __name__ == .__main__.: |
| 25 |
|
| 26 |
ignore_errors = False |
| 27 |
|
| 28 |
[html] |
| 29 |
directory=cover |