| 1 |
[run] |
| 2 |
omit = |
| 3 |
pint/testsuite/* |
| 4 |
pint/_vendor/* |
| 5 |
|
| 6 |
[report] |
| 7 |
# Regexes for lines to exclude from consideration |
| 8 |
exclude_lines = |
| 9 |
# Have to re-enable the standard pragma |
| 10 |
pragma: no cover |
| 11 |
|
| 12 |
# Don't complain about missing debug-only code: |
| 13 |
def __repr__ |
| 14 |
|
| 15 |
# Don't complain if tests don't hit defensive assertion code: |
| 16 |
raise AssertionError |
| 17 |
raise NotImplementedError |
| 18 |
AbstractMethodError |
| 19 |
|
| 20 |
# Don't complain if non-runnable code isn't run: |
| 21 |
if TYPE_CHECKING: |
| 22 |
|
| 23 |
return NotImplemented |