blob: 0a55c5f6c875532fc46e5631440599cb9ef60ec7 [file] [log] [blame]
Anthony Sottileb80ca9e2014-04-13 22:09:14 -07001[run]
2branch = True
Anthony Sottileb80ca9e2014-04-13 22:09:14 -07003source =
4 .
5omit =
6 .tox/*
7 /usr/*
Anthony Sottileb80ca9e2014-04-13 22:09:14 -07008 setup.py
Anthony Sottile3f6f23d2015-12-25 09:25:14 -08009 get-git-lfs.py
Anthony Sottileb80ca9e2014-04-13 22:09:14 -070010
Anthony Sottile27291ff2014-03-13 08:41:35 -070011[report]
Anthony Sottile8ad9e7c2017-07-05 12:38:21 -070012show_missing = True
13skip_covered = True
Anthony Sottile27291ff2014-03-13 08:41:35 -070014exclude_lines =
Anthony Sottileb80ca9e2014-04-13 22:09:14 -070015 # Have to re-enable the standard pragma
16 \#\s*pragma: no cover
Anthony Sottile27291ff2014-03-13 08:41:35 -070017
Anthony Sottileb80ca9e2014-04-13 22:09:14 -070018 # 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 Sottile27291ff2014-03-13 08:41:35 -070023
Anthony Sottileb80ca9e2014-04-13 22:09:14 -070024 # Don't complain if non-runnable code isn't run:
25 ^if __name__ == ['"]__main__['"]:$
Anthony Sottile27291ff2014-03-13 08:41:35 -070026
Anthony Sottileb80ca9e2014-04-13 22:09:14 -070027[html]
28directory = coverage-html
Anthony Sottile27291ff2014-03-13 08:41:35 -070029
Anthony Sottileb80ca9e2014-04-13 22:09:14 -070030# vim:ft=dosini