Jim Tang | 81e1c61 | 2020-04-23 04:00:43 +0000 | [diff] [blame] | 1 | # ========================================================================= |
| 2 | # COVERAGE CONFIGURATION FILE: .coveragerc |
| 3 | # ========================================================================= |
| 4 | # LANGUAGE: Python |
| 5 | # SEE ALSO: |
| 6 | # * http://nedbatchelder.com/code/coverage/ |
| 7 | # * http://nedbatchelder.com/code/coverage/config.html |
| 8 | # ========================================================================= |
| 9 | |
| 10 | [run] |
| 11 | # data_file = .coverage |
| 12 | source = parse_type |
| 13 | branch = True |
| 14 | parallel = True |
| 15 | omit = mock.py, ez_setup.py, distribute.py |
| 16 | |
| 17 | |
| 18 | [report] |
| 19 | ignore_errors = True |
| 20 | show_missing = True |
| 21 | # Regexes for lines to exclude from consideration |
| 22 | exclude_lines = |
| 23 | # Have to re-enable the standard pragma |
| 24 | pragma: no cover |
| 25 | |
| 26 | # Don't complain about missing debug-only code: |
| 27 | def __repr__ |
| 28 | if self\.debug |
| 29 | |
| 30 | # Don't complain if tests don't hit defensive assertion code: |
| 31 | raise AssertionError |
| 32 | raise NotImplementedError |
| 33 | |
| 34 | # Don't complain if non-runnable code isn't run: |
| 35 | if 0: |
| 36 | if False: |
| 37 | if __name__ == .__main__.: |
| 38 | |
| 39 | |
| 40 | [html] |
| 41 | directory = build/coverage.html |
| 42 | title = Coverage Report: parse_type |
| 43 | |
| 44 | [xml] |
| 45 | output = build/coverage.xml |
| 46 | |