ugh how do I tell codecov that a python match/case statement is exhaustive without a default case

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 1 day ago*

okay I guess if I want to be runtime-hygienic about this I should use a multi-line exclusion coverage.readthedocs.io/en/7.1 like "case _:\n\s*assert False"

  • source