1[run] 2branch = True 3 4[report] 5exclude_lines = 6 # Have to re-enable the standard pragma 7 pragma: no cover 8 9 # Don't complain about missing debug-only code: 10 def __repr__ 11 12 # Don't complain if tests don't hit defensive assertion code: 13 raise AssertionError 14 raise NotImplementedError 15 16 # Don't complain if non-runnable code isn't run: 17 if 0: 18 if __name__ == .__main__.: 19 20 # don't try to cover abstracts 21 @abc.abstractmethod 22 @abc.abstractproperty 23 24 # don't try to cover special properties 25 @properties.NonDataProperty 26 27show_missing = True 28ignore_errors = True 29 30