Title: Add `msg = ["']` to coverage.py exclude_also patterns by Copilot · Pull Request #1593 · usethis-python/usethis-python · GitHub
Open Graph Title: Add `msg = ["']` to coverage.py exclude_also patterns by Copilot · Pull Request #1593 · usethis-python/usethis-python
X Title: Add `msg = ["']` to coverage.py exclude_also patterns by Copilot · Pull Request #1593 · usethis-python/usethis-python
Description: When EM ruff rules are enabled, raise messages must be extracted to a preceding line — conventionally msg = "..." or msg = '...' (ruff's autofix uses this variable name). These lines should be excluded from coverage like raise NotImplementedError already is. Per discussion, always exclude regardless of whether EM rules are active. Added msg = ["'] to exclude_also in CoveragePyToolSpec.config_spec(), matching both single and double quote styles without requiring a closing quote (to support multi-line strings) Updated project's own pyproject.toml coverage config to match Updated test expectations for .coveragerc and tox.ini output formats ✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Open Graph Description: When EM ruff rules are enabled, raise messages must be extracted to a preceding line — conventionally msg = "..." or msg = '...' (ruff's autofix uses this variable name). Thes...
X Description: When EM ruff rules are enabled, raise messages must be extracted to a preceding line — conventionally msg = "..." or msg = '...' (ruff's autofix uses this ...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1593
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:07bc7c3c-d268-8c6d-f7de-4308a2fa78e4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9DDE:F269F:16682B:20BF2C:6A4CFB60 |
| html-safe-nonce | aa3ae5c2559ceaeece610861c9ec1d6251657781c3dd7f2388e1f424e2fc1fe2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RERFOkYyNjlGOjE2NjgyQjoyMEJGMkM6NkE0Q0ZCNjAiLCJ2aXNpdG9yX2lkIjoiODA4MjMzMTk2NDA1NTI4ODY3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7283ad52f35dc450b235fe6e12d620fed2a1af7c3eaa81b643672fbffa2c97de |
| hovercard-subject-tag | pull_request:3456118834 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/usethis-python/usethis-python/pull/1593/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | When EM ruff rules are enabled, raise messages must be extracted to a preceding line — conventionally msg = "..." or msg = '...' (ruff's autofix uses this variable name). Thes... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 31e4db13a9e20081f2fac78f441659a6576e582bbb15e153f9c7fb6473aa29f5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8307e9ba117a26e92a64fb1daf085d795a6552ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width