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: redirect.github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:b0dcf9e7-7f41-8b6e-87f3-86deb0d0e9d0 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9952:BE21E:1E7DF73:2A8BBE6:69693619 |
| html-safe-nonce | 1309de5faaaa7a1e8149d96f79bc6e7e1af3a4dad422cffcac34dd4012ec809d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTUyOkJFMjFFOjFFN0RGNzM6MkE4QkJFNjo2OTY5MzYxOSIsInZpc2l0b3JfaWQiOiI4MTEyMjQyMzQ4MjE3OTM5NDgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 824af15911e710ac7be957e296abc649041f4bf8f35faafad801d2ba7c8da735 |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width