Title: Improve error code linkability · Issue #15431 · python/mypy · GitHub
Open Graph Title: Improve error code linkability · Issue #15431 · python/mypy
X Title: Improve error code linkability · Issue #15431 · python/mypy
Description: Documentation In microsoft/vscode-mypy#58, I'm adding the functionality to link to specific mypy error code documentation. However, there's two issues affecting maintainability: The error codes span 2 pages The anchors are autogenerated ...
Open Graph Description: Documentation In microsoft/vscode-mypy#58, I'm adding the functionality to link to specific mypy error code documentation. However, there's two issues affecting maintainability: The error codes spa...
X Description: Documentation In microsoft/vscode-mypy#58, I'm adding the functionality to link to specific mypy error code documentation. However, there's two issues affecting maintainability: The error c...
Opengraph URL: https://github.com/python/mypy/issues/15431
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve error code linkability","articleBody":"**Documentation**\r\n\r\nIn https://github.com/microsoft/vscode-mypy/pull/58, I'm adding the functionality to link to specific mypy error code documentation. However, there's two issues affecting maintainability:\r\n- The error codes span 2 pages\r\n- The anchors are autogenerated from titles\r\n\r\nWhich leads to having to keep a map of all code-to-url, like this:\r\nhttps://github.com/microsoft/vscode-mypy/pull/58/files#diff-3c2e579f59d8e749f5527d64f087396907db30414fe139bc91a1ecce9f9613ddR22\r\n\r\nI would prefer if it was possible to programmatically link to mypy error codes documentation with only the information given by the mypy/dmypy CLI. Redirection is an acceptable solution to me.\r\n","author":{"url":"https://github.com/Avasam","@type":"Person","name":"Avasam"},"datePublished":"2023-06-13T22:18:08Z","url":"https://github.com/python/mypy/issues/15431"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:71f7df8b-fb59-3078-464e-86a0f57d5a3c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2D8:215B92:7CF69A:A7E6E9:6B00DF25 |
| html-safe-nonce | dfd2c89f3f5440d6612841026c4a5b3f3bb59bc7934a3f68f44403785a621223 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkQ4OjIxNUI5Mjo3Q0Y2OUE6QTdFNkU5OjZCMDBERjI1IiwidmlzaXRvcl9pZCI6IjYwNjI1MDA5NTAzMzE5NDA2NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f583ea17045e74b2467d4e674d2446dc5060b696970ac8951fbba58233735658 |
| hovercard-subject-tag | issue:1755730096 |
| 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/python/mypy/15431/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2dac9265769f36f13e451e88dcb506af2f2b18cd1ed6822cd07b30cef2d5e175/python/mypy/issues/15431 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2dac9265769f36f13e451e88dcb506af2f2b18cd1ed6822cd07b30cef2d5e175/python/mypy/issues/15431 |
| og:image:alt | Documentation In microsoft/vscode-mypy#58, I'm adding the functionality to link to specific mypy error code documentation. However, there's two issues affecting maintainability: The error codes spa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Avasam |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | 5425dc24e8bd8d6fca9641a12afc984825a43875 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width