Title: Remove `@NoEffect` annotations by EliahKagan · Pull Request #1677 · gitpython-developers/GitPython · GitHub
Open Graph Title: Remove `@NoEffect` annotations by EliahKagan · Pull Request #1677 · gitpython-developers/GitPython
X Title: Remove `@NoEffect` annotations by EliahKagan · Pull Request #1677 · gitpython-developers/GitPython
Description: Fixes #1674 Along with removing all @NoEffect annotations (there were only a handful), this: Adds missing asserts, where an expression statement was by itself that was intended as an assertion. This turned out to be the case in the places @NoEffect appeared in rendered documentation, making it so no per-file-ignores or other broadened suppressions were needed. Fixes misspellings (including one case affecting documentation). Adds a FIXME comment for investigating a free-standing expression statement with no obvious side effects that may have been meant as an assertion but would fail if turned into one. There are some other commented @-style suppression annotations throughout the project. This PR deliberately does not touch those. Some of them express useful intent that should eventually be stated in a different way but currently could be a breaking change to express better. For example, some of them express that a name that is imported but not used is intended to be present, which is better expressed with a static __all__ listing exactly the names (imports and otherwise) meant to be accessed through the module, but to usefully express this an __all__ needs to omit names not intended to be accessed that way, which may be a breaking change.
Open Graph Description: Fixes #1674 Along with removing all @NoEffect annotations (there were only a handful), this: Adds missing asserts, where an expression statement was by itself that was intended as an assertion. Th...
X Description: Fixes #1674 Along with removing all @NoEffect annotations (there were only a handful), this: Adds missing asserts, where an expression statement was by itself that was intended as an assertion. Th...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1677
X: @github
Domain: togithub.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:dcb2e5c1-a390-68ea-6032-c56388780011 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C3EC:204531:148CA12:1C1AE7D:69694CDD |
| html-safe-nonce | 82ba12cf18245a5cc314086e02b3a1f99694c0d9a13e136edad34cbb82e9a215 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0VDOjIwNDUzMToxNDhDQTEyOjFDMUFFN0Q6Njk2OTRDREQiLCJ2aXNpdG9yX2lkIjoiNjExMjQ4MDY5MzE5MTUwODEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a981c1e90145209abf400f8f897dc56b5143473bf2d511a71f8b612e0068909d |
| hovercard-subject-tag | pull_request:1525703945 |
| 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/1677/checks |
| 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 | Fixes #1674 Along with removing all @NoEffect annotations (there were only a handful), this: Adds missing asserts, where an expression statement was by itself that was intended as an assertion. Th... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width