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