Title: Test markdown validity after `usethis badge` calls by Copilot · Pull Request #1584 · usethis-python/usethis-python · GitHub
Open Graph Title: Test markdown validity after `usethis badge` calls by Copilot · Pull Request #1584 · usethis-python/usethis-python
X Title: Test markdown validity after `usethis badge` calls by Copilot · Pull Request #1584 · usethis-python/usethis-python
Description: Adds a regression guard against invalid badge markdown (like #923) by comparing badge output against a canonical .md file that prek validates. Canonical asset: tests/usethis/_core/assets/expected_all_badges.md — the expected README after all 7 badge commands run in sequence. Validated by markdownlint-cli2 + prettier via prek hooks. Test: TestAllBadgesMarkdownValid in test_core_badge.py — sets up a blank-slate project, runs all add_badge() calls in order, asserts output matches the canonical file. If badge output changes to produce invalid markdown, either the test fails (output mismatch) or the canonical file update gets caught by prek. ⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.
Open Graph Description: Adds a regression guard against invalid badge markdown (like #923) by comparing badge output against a canonical .md file that prek validates. Canonical asset: tests/usethis/_core/assets/expected_...
X Description: Adds a regression guard against invalid badge markdown (like #923) by comparing badge output against a canonical .md file that prek validates. Canonical asset: tests/usethis/_core/assets/expected_...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1584
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:56ddde3f-8666-78a7-206c-1c16a7d6c462 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A71A:8F52B:3063598:42A0614:6A4F2441 |
| html-safe-nonce | 47c51bdf3172781709e60efba958a7a27df484b3789ce6f601df6ebcf8b4c33d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzFBOjhGNTJCOjMwNjM1OTg6NDJBMDYxNDo2QTRGMjQ0MSIsInZpc2l0b3JfaWQiOiI2MTM2NDc4MDQ2ODQ3MTgxODg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6dca9f2cb3cfbdafac5cc420dddc8a89fa008abc613d51111f40dedbc02781f5 |
| hovercard-subject-tag | pull_request:3455115794 |
| 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/1584/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 | Adds a regression guard against invalid badge markdown (like #923) by comparing badge output against a canonical .md file that prek validates. Canonical asset: tests/usethis/_core/assets/expected_... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width