Title: Support multi-line # type: comments for functions · Issue #1102 · python/mypy · GitHub
Open Graph Title: Support multi-line # type: comments for functions · Issue #1102 · python/mypy
X Title: Support multi-line # type: comments for functions · Issue #1102 · python/mypy
Description: Some linters get mad about long lines, even comments, so we would like to be able to break long # type: comments into multiple lines. This is especially desirable for function annotations if the function has lots of arguments, since you ...
Open Graph Description: Some linters get mad about long lines, even comments, so we would like to be able to break long # type: comments into multiple lines. This is especially desirable for function annotations if the fu...
X Description: Some linters get mad about long lines, even comments, so we would like to be able to break long # type: comments into multiple lines. This is especially desirable for function annotations if the fu...
Opengraph URL: https://github.com/python/mypy/issues/1102
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support multi-line # type: comments for functions","articleBody":"Some linters get mad about long lines, even comments, so we would like to be able to break long `# type:` comments into multiple lines. This is especially desirable for function annotations if the function has lots of arguments, since you can't shorten those using type aliases. (And claiming that's just bad code doesn't do anyone any good -- I know, but sometimes I can't afford to fix it.)\n","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2016-01-08T00:56:02Z","url":"https://github.com/python/mypy/issues/1102"}
| 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:77e056f8-24bd-9401-6aeb-fdc2f3529e2d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9944:2ED6B1:23F06C:3229C3:6B0058B8 |
| html-safe-nonce | e01dec2fc13c5fd8cef258d23c2bbc743ae1a9ef77c5c6fc7da7c4b4a11e2ded |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTQ0OjJFRDZCMToyM0YwNkM6MzIyOUMzOjZCMDA1OEI4IiwidmlzaXRvcl9pZCI6IjQwMjQwMTAyMzIxMzU5NjQ4NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c06e12fa04e00fbac684658605353bc07ed02e93a166b92bf61d1587af35d9e2 |
| hovercard-subject-tag | issue:125518967 |
| 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/1102/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f2fbce9683ab73062fea14dc22c0c7d97a3e19e933daa4cb4520a880f36b704/python/mypy/issues/1102 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f2fbce9683ab73062fea14dc22c0c7d97a3e19e933daa4cb4520a880f36b704/python/mypy/issues/1102 |
| og:image:alt | Some linters get mad about long lines, even comments, so we would like to be able to break long # type: comments into multiple lines. This is especially desirable for function annotations if the fu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gvanrossum |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| 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 | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width