| OLD | NEW |
| 1 [run] | 1 [run] |
| 2 include = ./* | 2 include = ./infra/* |
| 3 omit = | 3 omit = |
| 4 # Virtual environment with third_party packages. | |
| 5 ./ENV/* | |
| 6 | |
| 7 # Add chromium_build, which wasn't test.py-enabled for a long time. | |
| 8 ./appengine/chromium_build/* | |
| 9 | |
| 10 # Add monorail's third-party packages and worst offenders | |
| 11 ./appengine/monorail/third_party/* | |
| 12 ./appengine/monorail/testing/* | |
| 13 | |
| 14 # Appengine third_party packages, committed into the repo as is. | |
| 15 ./appengine/third_party/* | |
| 16 | |
| 17 # Luci code added via DEPS. | |
| 18 ./luci/* | |
| 19 | |
| 20 # Antibody third_party files | 4 # Antibody third_party files |
| 21 ./infra/tools/antibody/static/third_party/* | 5 ./infra/tools/antibody/static/third_party/* |
| 22 | 6 |
| 23 [report] | 7 [report] |
| 24 exclude_lines = | 8 exclude_lines = |
| 25 # Have to re-enable the standard pragma | 9 # Have to re-enable the standard pragma |
| 26 pragma: no cover | 10 pragma: no cover |
| 27 | 11 |
| 28 # Don't complain about missing debug-only code: | 12 # Don't complain about missing debug-only code: |
| 29 def __repr__ | 13 def __repr__ |
| 30 if self\.debug | 14 if self\.debug |
| 31 | 15 |
| 32 # Don't complain if tests don't hit defensive assertion code: | 16 # Don't complain if tests don't hit defensive assertion code: |
| 33 raise AssertionError | 17 raise AssertionError |
| 34 raise NotImplementedError | 18 raise NotImplementedError |
| 35 | 19 |
| 36 # Don't complain if non-runnable code isn't run: | 20 # Don't complain if non-runnable code isn't run: |
| 37 if 0: | 21 if 0: |
| 38 if __name__ == ['"]__main__['"]: | 22 if __name__ == ['"]__main__['"]: |
| 39 | 23 |
| 40 [expect_tests] | 24 [expect_tests] |
| 41 expected_coverage_min = 92 | 25 expected_coverage_min = 100 |
| OLD | NEW |