Anthony Sottile | b80ca9e | 2014-04-13 22:09:14 -0700 | [diff] [blame] | 1 | [run] |
| 2 | branch = True |
Anthony Sottile | b80ca9e | 2014-04-13 22:09:14 -0700 | [diff] [blame] | 3 | source = |
| 4 | . |
| 5 | omit = |
| 6 | .tox/* |
| 7 | /usr/* |
Anthony Sottile | b80ca9e | 2014-04-13 22:09:14 -0700 | [diff] [blame] | 8 | setup.py |
| 9 | |
Anthony Sottile | 27291ff | 2014-03-13 08:41:35 -0700 | [diff] [blame] | 10 | [report] |
Anthony Sottile | 8ad9e7c | 2017-07-05 12:38:21 -0700 | [diff] [blame] | 11 | show_missing = True |
| 12 | skip_covered = True |
Anthony Sottile | 27291ff | 2014-03-13 08:41:35 -0700 | [diff] [blame] | 13 | exclude_lines = |
Anthony Sottile | b80ca9e | 2014-04-13 22:09:14 -0700 | [diff] [blame] | 14 | # Have to re-enable the standard pragma |
| 15 | \#\s*pragma: no cover |
Anthony Sottile | 27291ff | 2014-03-13 08:41:35 -0700 | [diff] [blame] | 16 | |
Anthony Sottile | b80ca9e | 2014-04-13 22:09:14 -0700 | [diff] [blame] | 17 | # Don't complain if tests don't hit defensive assertion code: |
| 18 | ^\s*raise AssertionError\b |
| 19 | ^\s*raise NotImplementedError\b |
| 20 | ^\s*return NotImplemented\b |
| 21 | ^\s*raise$ |
Anthony Sottile | 27291ff | 2014-03-13 08:41:35 -0700 | [diff] [blame] | 22 | |
Anthony Sottile | b80ca9e | 2014-04-13 22:09:14 -0700 | [diff] [blame] | 23 | # Don't complain if non-runnable code isn't run: |
| 24 | ^if __name__ == ['"]__main__['"]:$ |
Anthony Sottile | 27291ff | 2014-03-13 08:41:35 -0700 | [diff] [blame] | 25 | |
Anthony Sottile | b80ca9e | 2014-04-13 22:09:14 -0700 | [diff] [blame] | 26 | [html] |
| 27 | directory = coverage-html |
Anthony Sottile | 27291ff | 2014-03-13 08:41:35 -0700 | [diff] [blame] | 28 | |
Anthony Sottile | b80ca9e | 2014-04-13 22:09:14 -0700 | [diff] [blame] | 29 | # vim:ft=dosini |