You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation
Some lines of code we expect to be impossible to reach, e.g. ones with assert_never. But code coverage will degrade because of these lines. You can configure coverage to ignore then with [tool.coverage.report].exclude_also. For example:
Motivation
Some lines of code we expect to be impossible to reach, e.g. ones with
assert_never
. But code coverage will degrade because of these lines. You can configurecoverage
to ignore then with[tool.coverage.report].exclude_also
. For example:Summary of desired enhancement
Add logic to the
usethis pytest
command which automatically adds sensible excludes.The text was updated successfully, but these errors were encountered: