Title: Ignore `msg = "*"` lines in coverage · Issue #523 · usethis-python/usethis-python · GitHub
Open Graph Title: Ignore `msg = "*"` lines in coverage · Issue #523 · usethis-python/usethis-python
X Title: Ignore `msg = "*"` lines in coverage · Issue #523 · usethis-python/usethis-python
Description: Motivation We are ignoring raise NotImplementedError lines in coverage, but if the EM rules are being used then the message will need to be specified outside the raise line, conventionally starting with msg = (I say convention because ru...
Open Graph Description: Motivation We are ignoring raise NotImplementedError lines in coverage, but if the EM rules are being used then the message will need to be specified outside the raise line, conventionally starting...
X Description: Motivation We are ignoring raise NotImplementedError lines in coverage, but if the EM rules are being used then the message will need to be specified outside the raise line, conventionally starting...
Opengraph URL: https://github.com/usethis-python/usethis-python/issues/523
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ignore `msg = \"*\"` lines in coverage","articleBody":"**Motivation**\nWe are ignoring `raise NotImplementedError` lines in coverage, but if the `EM` rules are being used then the message will need to be specified outside the `raise` line, conventionally starting with `msg = ` (I say convention because ruff's autofix uses this variable name). We should ignore these lines too.\n\nArguments against; perhaps this is not as conventional as it seems, and it will have false positives. \n\n**Summary of desired enhancement**\nConsider whether we want this logic or not. Also consider it for development, even if not as a feature of usethis.\n","author":{"url":"https://github.com/nathanjmcdougall","@type":"Person","name":"nathanjmcdougall"},"datePublished":"2025-04-17T06:42:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/523/usethis-python/issues/523"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:472aa69c-98e1-b423-499d-38b99c5769b0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A192:38A7FD:D9C672:12CF1E1:6A4DCFFA |
| html-safe-nonce | 965018ac332fcd154ae4a552835c647909984fd1695c00444cb637d48911c30d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTkyOjM4QTdGRDpEOUM2NzI6MTJDRjFFMTo2QTREQ0ZGQSIsInZpc2l0b3JfaWQiOiI3NzU1OTkzOTYyMjg4ODkzOTQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 06b9432ea0628d004705de4952e19373c5c86d17ce7e389aa9d24ffa732a8c74 |
| hovercard-subject-tag | issue:3001583675 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/usethis-python/usethis-python/523/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4efbf671290e85ef4fe12c4e768d6f677c5d2db47d677f370285b35bff11eee0/usethis-python/usethis-python/issues/523 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4efbf671290e85ef4fe12c4e768d6f677c5d2db47d677f370285b35bff11eee0/usethis-python/usethis-python/issues/523 |
| og:image:alt | Motivation We are ignoring raise NotImplementedError lines in coverage, but if the EM rules are being used then the message will need to be specified outside the raise line, conventionally starting... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathanjmcdougall |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width