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