Title: Fix mypy warning "Missing return statement" by EliahKagan · Pull Request #1789 · gitpython-developers/GitPython · GitHub
Open Graph Title: Fix mypy warning "Missing return statement" by EliahKagan · Pull Request #1789 · gitpython-developers/GitPython
X Title: Fix mypy warning "Missing return statement" by EliahKagan · Pull Request #1789 · gitpython-developers/GitPython
Description: In git.index.base.IndexFile.from_tree, control was never able to fall off the end, but mypy reported a "Missing return statement" because it could not infer that the context manager didn't suppress...
Open Graph Description: In git.index.base.IndexFile.from_tree, control was never able to fall off the end, but mypy reported a "Missing return statement" because it could not infer that the context manager didn&...
X Description: In git.index.base.IndexFile.from_tree, control was never able to fall off the end, but mypy reported a "Missing return statement" because it could not infer that the context manag...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1789
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:c3248126-5dfb-5636-89f9-dba24097d2a0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C292:3EDA32:85FDDF:B1516A:6968414F |
| html-safe-nonce | b0d67996cb763ad1154179bb1e8de3dd7b2194a05d4e807061f12820d64f36f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjkyOjNFREEzMjo4NUZEREY6QjE1MTZBOjY5Njg0MTRGIiwidmlzaXRvcl9pZCI6IjQ2MjczNzYxMjQxMzg2MzU1OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fdc5c6830dc101a5672d5b50f6a50c67cf2a65ef78897e91a8b1978493c11e96 |
| hovercard-subject-tag | pull_request:1656673082 |
| 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/_view_fragments/voltron/pull_requests/show/gitpython-developers/GitPython/1789/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c51331d81545443eab0d154cb4639d50ecdbfd3c65f9cfbfd7cad98505469ae5/gitpython-developers/GitPython/pull/1789 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c51331d81545443eab0d154cb4639d50ecdbfd3c65f9cfbfd7cad98505469ae5/gitpython-developers/GitPython/pull/1789 |
| og:image:alt | In git.index.base.IndexFile.from_tree, control was never able to fall off the end, but mypy reported a "Missing return statement" because it could not infer that the context manager didn&... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EliahKagan |
| hostname | github.com |
| expected-hostname | github.com |
| None | f16c57f41ed243e5b4dfe9b9bcd6828bd83080b1b6dbb4ff239bbe9745f12e0c |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | cfa7062cc6d4fe8fcb156bd33f4c97bd3b2470af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width