Title: Add type declarations · Issue #59 · IBM/python-itoolkit · GitHub
Open Graph Title: Add type declarations · Issue #59 · IBM/python-itoolkit
X Title: Add type declarations · Issue #59 · IBM/python-itoolkit
Description: https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html https://mypy.readthedocs.io/en/latest/existing_code.html This would allow us to have better docs using https://pypi.org/project/sphinx-autodoc-typehints/ Ideally, we would use in...
Open Graph Description: https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html https://mypy.readthedocs.io/en/latest/existing_code.html This would allow us to have better docs using https://pypi.org/project/sphinx-aut...
X Description: https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html https://mypy.readthedocs.io/en/latest/existing_code.html This would allow us to have better docs using https://pypi.org/project/sphinx-aut...
Opengraph URL: https://github.com/IBM/python-itoolkit/issues/59
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add type declarations","articleBody":"https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html\r\nhttps://mypy.readthedocs.io/en/latest/existing_code.html\r\n\r\nThis would allow us to have better docs using https://pypi.org/project/sphinx-autodoc-typehints/\r\n\r\nIdeally, we would use inline type declarations, but they can't be used if the code needs to be Python 2 compatible. For Python 2 compatibility, you must use comments, but this requires Python 3.8 or [typed-ast](https://pypi.org/project/typed-ast/) be installed in order for sphinx-autodoc-typehints to be able to read them.","author":{"url":"https://github.com/kadler","@type":"Person","name":"kadler"},"datePublished":"2020-05-21T14:50:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/59/python-itoolkit/issues/59"}
| 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:c6e32636-3fcd-ea84-4940-6cb494d1540a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D56C:3AB510:2E28B0D:3E51462:698DBE8D |
| html-safe-nonce | 0113f79f67e1d5275eb7dfba6c1015dba11d06f43ec21c44ea114aec9c25dd2b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTZDOjNBQjUxMDoyRTI4QjBEOjNFNTE0NjI6Njk4REJFOEQiLCJ2aXNpdG9yX2lkIjoiNzg1NTI3MjEyMTQ5MTYxNjEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ebf205ffe8d13b19891fe0995d82d2bd3fac085aafa73355a4f8d48e2440700c |
| hovercard-subject-tag | issue:622554283 |
| 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/IBM/python-itoolkit/59/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9bb04c8252361217f38e2ddc1eeaa57f6efd64226407b20bf53c4497b4410770/IBM/python-itoolkit/issues/59 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9bb04c8252361217f38e2ddc1eeaa57f6efd64226407b20bf53c4497b4410770/IBM/python-itoolkit/issues/59 |
| og:image:alt | https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html https://mypy.readthedocs.io/en/latest/existing_code.html This would allow us to have better docs using https://pypi.org/project/sphinx-aut... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kadler |
| hostname | github.com |
| expected-hostname | github.com |
| None | d9c5a945db9d79f5476dbe75d3700f24739ef28ab02037163bdeac4050cd4ded |
| turbo-cache-control | no-preview |
| go-import | github.com/IBM/python-itoolkit git https://github.com/IBM/python-itoolkit.git |
| octolytics-dimension-user_id | 1459110 |
| octolytics-dimension-user_login | IBM |
| octolytics-dimension-repository_id | 162735026 |
| octolytics-dimension-repository_nwo | IBM/python-itoolkit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 162735026 |
| octolytics-dimension-repository_network_root_nwo | IBM/python-itoolkit |
| 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 | 650e13e6e6d3957db6415d62f055e6a5fd0037db |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width