Title: Various style improvements by EliahKagan · Pull Request #2049 · gitpython-developers/GitPython · GitHub
Open Graph Title: Various style improvements by EliahKagan · Pull Request #2049 · gitpython-developers/GitPython
X Title: Various style improvements by EliahKagan · Pull Request #2049 · gitpython-developers/GitPython
Description: This makes various style improvements: 1b79d44 fixes line endings in requirements-dev.txt. 6f4f7f5 fixes ruff configuration warnings (about the configuration itself) and enables a rule that was turned off explicitly but that we are now following. a36b8a5 enables the rule about preferring def f over f = lambda, changes the code to follow that rule, and makes associated changes to the lambda to make the use of newlines more readable, adds parameter and return type annotations where missing or incomplete, and refactors the expression of them returns for clarity. Full details are in the commit messages.
Open Graph Description: This makes various style improvements: 1b79d44 fixes line endings in requirements-dev.txt. 6f4f7f5 fixes ruff configuration warnings (about the configuration itself) and enables a rule that was tu...
X Description: This makes various style improvements: 1b79d44 fixes line endings in requirements-dev.txt. 6f4f7f5 fixes ruff configuration warnings (about the configuration itself) and enables a rule that was tu...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2049
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6285e398-1aa3-8eae-c0e5-ce64f7ec5d0f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC64:BE21E:9810A0:D83894:69690169 |
| html-safe-nonce | 299fa41787fbe61508b53d2b05fa1dffdb01b65be8d0a1e613d31f9b23f44766 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzY0OkJFMjFFOjk4MTBBMDpEODM4OTQ6Njk2OTAxNjkiLCJ2aXNpdG9yX2lkIjoiNTY2NzIxNTYzMjM3NzY0MzM2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5fc62e8c9111c1568d3a39362aa3525e1ac5a6b4310b8de25b8bad7754e84334 |
| hovercard-subject-tag | pull_request:2576973260 |
| 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/gitpython-developers/GitPython/pull/2049/files |
| twitter:image | https://avatars.githubusercontent.com/u/1771172?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1771172?s=400&v=4 |
| og:image:alt | This makes various style improvements: 1b79d44 fixes line endings in requirements-dev.txt. 6f4f7f5 fixes ruff configuration warnings (about the configuration itself) and enables a rule that was tu... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e6156bd4ef9f2dc8dadf4c49a8f7ed8532186388cef72eda3ccb9f0ab3b8cfca |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fd1938215b152e2c6a29cf56fec07fd9f91f1203 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width