Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | [run] |
| 2 | include = appengine/monorail/* |
| 3 | omit = |
| 4 | # Add monorail's third-party packages and worst offenders |
| 5 | ./appengine/monorail/third_party/* |
| 6 | ./appengine/monorail/lib/* |
| 7 | ./appengine/monorail/testing/* |
| 8 | ./appengine/monorail/**/test/* |
| 9 | [report] |
| 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 | [expect_tests] |
Adrià Vilanova MartÃnez | ac4a644 | 2022-05-15 19:05:13 +0200 | [diff] [blame] | 27 | expected_coverage_min = 80 |