Title: Add types to refs by Yobmod · Pull Request #1295 · gitpython-developers/GitPython · GitHub
Open Graph Title: Add types to refs by Yobmod · Pull Request #1295 · gitpython-developers/GitPython
X Title: Add types to refs by Yobmod · Pull Request #1295 · gitpython-developers/GitPython
Description: Adding types to refs module, and backtracking to make sure they agree with previous types. I also changed the hard-coding of Traversable.list_traverse(on_edge= True) that I put in last time to be a check for it in kwargs. At the moment all it does is raise an additional deprecation warning if anyone tried to use on_edge= True - I don't think anyone would be, but better than breaking it without warning. Also made Traversable, Serilizable and IterableObj into Protocols (typings version of abstract base classes) - shouldnt have any effect on users unless they are doing something wierd. Added flake8-bugbear and flake8-comprehensions and fixed the (minor) complaints they had. Removed some checks for python 3.5 in tests.
Open Graph Description: Adding types to refs module, and backtracking to make sure they agree with previous types. I also changed the hard-coding of Traversable.list_traverse(on_edge= True) that I put in last time to be a...
X Description: Adding types to refs module, and backtracking to make sure they agree with previous types. I also changed the hard-coding of Traversable.list_traverse(on_edge= True) that I put in last time to be a...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1295
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:e43f578b-a4de-5fc8-cd1d-f40cfd450ed3 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D182:30E6E5:1CCF6ED:275ED39:696ABF0A |
| html-safe-nonce | 3ba0e740fd20c472ec35dfc7a60965fa6132b83f91fdf6f84bd1189299b8c4f6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTgyOjMwRTZFNToxQ0NGNkVEOjI3NUVEMzk6Njk2QUJGMEEiLCJ2aXNpdG9yX2lkIjoiMTA3NzkwMTc3MjE3NzcxOTA1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6d173a17449f4ad991ffa2b274f724da3a5ec281b91b211ff38ccb6c1eeb4c0c |
| hovercard-subject-tag | pull_request:692785367 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/gitpython-developers/GitPython/pull/1295/checks |
| twitter:image | https://avatars.githubusercontent.com/u/22235459?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/22235459?s=400&v=4 |
| og:image:alt | Adding types to refs module, and backtracking to make sure they agree with previous types. I also changed the hard-coding of Traversable.list_traverse(on_edge= True) that I put in last time to be a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width