1# This file exist despite having .coveragerc in infra_libs because on Windows 2# bots, we only execute tests in certain modules of infra_libs (including this 3# one) and the latest version of coverage throws an exception when given a 4# non-existant config file. 5 6[run] 7include = ./packages/infra_libs/infra_libs/* 8 9[report] 10exclude_lines = 11 # Have to re-enable the standard pragma 12 pragma: no cover 13 14 # Don't complain about missing debug-only code: 15 def __repr__ 16 if self\.debug 17 18 # Don't complain if tests don't hit defensive assertion code: 19 raise AssertionError 20 raise NotImplementedError 21 22 # Don't complain if non-runnable code isn't run: 23 if 0: 24 if __name__ == ['"]__main__['"]: 25 26[expect_tests] 27expected_coverage_min = 100 28