github.com/n00py/Slackor@v0.0.0-20200610224921-d007fcea1740/impacket/tests/coveragerc (about) 1 # .coveragerc to control coverage.py 2 [run] 3 branch = True 4 source = impacket 5 omit = *remcom* 6 *.tox* 7 8 [report] 9 # Regexes for lines to exclude from consideration 10 exclude_lines = 11 # Have to re-enable the standard pragma 12 pragma: no cover 13 14 # Don't complain about missing debug-only code: 15 if self\.debug 16 17 # Don't complain if tests don't hit defensive assertion code: 18 raise AssertionError 19 raise NotImplementedError 20 21 # Don't complain if non-runnable code isn't run: 22 if 0: 23 if __name__ == .__main__.: 24 25 ignore_errors = True 26 27 [html] 28 directory = coverage_html_report