Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame^] | 1 | # TODO(ehmaldonado): Consider including tests in .coveragerc once we get closer |
| 2 | # to 100%. |
| 3 | [run] |
| 4 | include = appengine/monorail/**/test/* |
| 5 | [report] |
| 6 | exclude_lines = |
| 7 | # Have to re-enable the standard pragma |
| 8 | pragma: no cover |
| 9 | |
| 10 | # Don't complain about missing debug-only code: |
| 11 | def __repr__ |
| 12 | if self\.debug |
| 13 | |
| 14 | # Don't complain if tests don't hit defensive assertion code: |
| 15 | raise AssertionError |
| 16 | raise NotImplementedError |
| 17 | |
| 18 | # Don't complain if non-runnable code isn't run: |
| 19 | if 0: |
| 20 | if __name__ == ['"]__main__['"]: |
| 21 | |
| 22 | [expect_tests] |
| 23 | expected_coverage_min = 100 |