René's URL Explorer Experiment


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

direct link

Domain: redirect.github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:40cf13af-43c0-d443-9d7d-75213c7cf779
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE1A0:BE21E:131D46B:1B1F2D3:696918CB
html-safe-nonce01914d55a16dc994c2d49b4c54a211b272d24799f430f9b010913569350dfc8d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUEwOkJFMjFFOjEzMUQ0NkI6MUIxRjJEMzo2OTY5MThDQiIsInZpc2l0b3JfaWQiOiI3MjEzMjc4Njk1MDAwNzA5MzIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0f759e02012f876e2128d7c172bfee9ed32316ec4747eb692fc0eacb8fb2ea0f
hovercard-subject-tagpull_request:1525703945
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/1677/files
twitter:imagehttps://avatars.githubusercontent.com/u/1771172?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1771172?s=400&v=4
og:image:altFixes #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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e60568924309a021b51adabdce15c2a2f285b556f3130d1a2fa2a5bce11c55f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git
octolytics-dimension-user_id503709
octolytics-dimension-user_logingitpython-developers
octolytics-dimension-repository_id1126087
octolytics-dimension-repository_nwogitpython-developers/GitPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1126087
octolytics-dimension-repository_network_root_nwogitpython-developers/GitPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedd206f7ed6207863172be4a783826e86bd2375c3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1677%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1677%2Ffiles
Sign up https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Reloadhttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Reloadhttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
gitpython-developers https://redirect.github.com/gitpython-developers
GitPythonhttps://redirect.github.com/gitpython-developers/GitPython
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Notifications https://redirect.github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 964 https://redirect.github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5k https://redirect.github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://redirect.github.com/gitpython-developers/GitPython
Issues 169 https://redirect.github.com/gitpython-developers/GitPython/issues
Pull requests 8 https://redirect.github.com/gitpython-developers/GitPython/pulls
Discussions https://redirect.github.com/gitpython-developers/GitPython/discussions
Actions https://redirect.github.com/gitpython-developers/GitPython/actions
Security Uh oh! There was an error while loading. Please reload this page. https://redirect.github.com/gitpython-developers/GitPython/security
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Insights https://redirect.github.com/gitpython-developers/GitPython/pulse
Code https://redirect.github.com/gitpython-developers/GitPython
Issues https://redirect.github.com/gitpython-developers/GitPython/issues
Pull requests https://redirect.github.com/gitpython-developers/GitPython/pulls
Discussions https://redirect.github.com/gitpython-developers/GitPython/discussions
Actions https://redirect.github.com/gitpython-developers/GitPython/actions
Security https://redirect.github.com/gitpython-developers/GitPython/security
Insights https://redirect.github.com/gitpython-developers/GitPython/pulse
Sign up for GitHub https://redirect.github.com/signup?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://redirect.github.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
Byronhttps://redirect.github.com/Byron
gitpython-developers:mainhttps://redirect.github.com/gitpython-developers/GitPython/tree/main
EliahKagan:no-noeffecthttps://redirect.github.com/EliahKagan/GitPython/tree/no-noeffect
Conversation 7 https://redirect.github.com/gitpython-developers/GitPython/pull/1677
Commits 1 https://redirect.github.com/gitpython-developers/GitPython/pull/1677/commits
Checks 0 https://redirect.github.com/gitpython-developers/GitPython/pull/1677/checks
Files changed https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Remove @NoEffect annotations https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#top
Show all changes 1 commit https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
a4701a0 Remove `@NoEffect` annotations EliahKagan Sep 21, 2023 https://redirect.github.com/gitpython-developers/GitPython/pull/1677/commits/a4701a0f17308ec8d4b5871e6e2a95c4e2ca5b91
Clear filters https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
test_docs.py https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
test_refs.py https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-0d8f1dff061a372fdf4946776e8277a271774b10c1684d1c28c1abd030340d0c
test_submodule.py https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-78179a32c1d54a6b78b018ee57328d6ea9424fbfbdbb36caf15e290331621024
test/test_docs.pyhttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
View file https://redirect.github.com/EliahKagan/GitPython/blob/a4701a0f17308ec8d4b5871e6e2a95c4e2ca5b91/test/test_docs.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/{{ revealButtonHref }}
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-e8640c3e0d2b1139c3e2ac635af5416e976b99fb1e2c5b4745830991dc492723
test/test_refs.pyhttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-0d8f1dff061a372fdf4946776e8277a271774b10c1684d1c28c1abd030340d0c
View file https://redirect.github.com/EliahKagan/GitPython/blob/a4701a0f17308ec8d4b5871e6e2a95c4e2ca5b91/test/test_refs.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/{{ revealButtonHref }}
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-0d8f1dff061a372fdf4946776e8277a271774b10c1684d1c28c1abd030340d0c
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-0d8f1dff061a372fdf4946776e8277a271774b10c1684d1c28c1abd030340d0c
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-0d8f1dff061a372fdf4946776e8277a271774b10c1684d1c28c1abd030340d0c
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-0d8f1dff061a372fdf4946776e8277a271774b10c1684d1c28c1abd030340d0c
test/test_submodule.pyhttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-78179a32c1d54a6b78b018ee57328d6ea9424fbfbdbb36caf15e290331621024
View file https://redirect.github.com/EliahKagan/GitPython/blob/a4701a0f17308ec8d4b5871e6e2a95c4e2ca5b91/test/test_submodule.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/{{ revealButtonHref }}
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-78179a32c1d54a6b78b018ee57328d6ea9424fbfbdbb36caf15e290331621024
Byronhttps://redirect.github.com/Byron
Sep 22, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#r1333955018
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
EliahKaganhttps://redirect.github.com/EliahKagan
Sep 22, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#r1334121664
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
GitPython/test/test_submodule.pyhttps://github.com/gitpython-developers/GitPython/blob/b27a89f683cda85ebd78243c055e876282df89ee/test/test_submodule.py#L107-L114
b27a89fhttps://redirect.github.com/gitpython-developers/GitPython/commit/b27a89f683cda85ebd78243c055e876282df89ee
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Byronhttps://redirect.github.com/Byron
Sep 23, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#r1334936095
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
EliahKaganhttps://redirect.github.com/EliahKagan
Sep 23, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#r1334965164
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
Byronhttps://redirect.github.com/Byron
Sep 24, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#r1335138452
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
EliahKaganhttps://redirect.github.com/EliahKagan
Sep 24, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#r1335144218
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1677/files
https://redirect.github.com/gitpython-developers/GitPython/pull/1677/files#diff-78179a32c1d54a6b78b018ee57328d6ea9424fbfbdbb36caf15e290331621024
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.