René's URL Explorer Experiment


Title: Remove optional from two member variables by Sineaggi · Pull Request #1550 · gitpython-developers/GitPython · GitHub

Open Graph Title: Remove optional from two member variables by Sineaggi · Pull Request #1550 · gitpython-developers/GitPython

X Title: Remove optional from two member variables by Sineaggi · Pull Request #1550 · gitpython-developers/GitPython

Description: Neither working_dir nor git_dir appear to leave __init__() set to None. Let's remove the None initialization, and simply use them as type markers. Fixes #1549

Open Graph Description: Neither working_dir nor git_dir appear to leave __init__() set to None. Let's remove the None initialization, and simply use them as type markers. Fixes #1549

X Description: Neither working_dir nor git_dir appear to leave __init__() set to None. Let's remove the None initialization, and simply use them as type markers. Fixes #1549

Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1550

X: @github

direct link

Domain: redirect.github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:59c580e2-2441-f5a2-77e2-726236a22375
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F4E:2B395F:170830:2013C1:6981F3F5
html-safe-noncefc11812cc05130a8f21cd864ff016251f0a06864cccc58ae81ca24236c30b3d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjRFOjJCMzk1RjoxNzA4MzA6MjAxM0MxOjY5ODFGM0Y1IiwidmlzaXRvcl9pZCI6IjY3MDg2NTMxOTQwMTg1MDc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac22e1610519f8fa93d0be2119793df49f9794858b73cec0a731de51b2f50c58ba
hovercard-subject-tagpull_request:1219918492
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/gitpython-developers/GitPython/1550/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/385e8035be60b29aa2ba063e6081d6cc85d5633cf7df543c81bddcb1cd90c24e/gitpython-developers/GitPython/pull/1550
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/385e8035be60b29aa2ba063e6081d6cc85d5633cf7df543c81bddcb1cd90c24e/gitpython-developers/GitPython/pull/1550
og:image:altNeither working_dir nor git_dir appear to leave __init__() set to None. Let's remove the None initialization, and simply use them as type markers. Fixes #1549
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSineaggi
hostnamegithub.com
expected-hostnamegithub.com
None9936dceb24cf8ba2521c41b894b28505ddddd1cb0b59da13279e82a3931479ca
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4ab65d8f884b21d3fd2259ba6a73d6fae4e3c596
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/gitpython-developers/GitPython/pull/1550#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%2F1550
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%2F1550
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=gitpython-developers%2FGitPython
Reloadhttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
Reloadhttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
Reloadhttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
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/1550
Notifications https://redirect.github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 965 https://redirect.github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5.1k https://redirect.github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://redirect.github.com/gitpython-developers/GitPython
Issues 170 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 3 https://redirect.github.com/gitpython-developers/GitPython/security
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
Jump to bottomhttps://redirect.github.com/gitpython-developers/GitPython/pull/1550#issue-comment-box
Byronhttps://redirect.github.com/Byron
gitpython-developers:mainhttps://redirect.github.com/gitpython-developers/GitPython/tree/main
Sineaggi:remove-optional-from-two-variableshttps://redirect.github.com/Sineaggi/GitPython/tree/remove-optional-from-two-variables
Remove optional from two member variables https://redirect.github.com/gitpython-developers/GitPython/pull/1550#top
Byronhttps://redirect.github.com/Byron
gitpython-developers:mainhttps://redirect.github.com/gitpython-developers/GitPython/tree/main
Sineaggi:remove-optional-from-two-variableshttps://redirect.github.com/Sineaggi/GitPython/tree/remove-optional-from-two-variables
Conversation 8 https://redirect.github.com/gitpython-developers/GitPython/pull/1550
Commits 4 https://redirect.github.com/gitpython-developers/GitPython/pull/1550/commits
Checks 0 https://redirect.github.com/gitpython-developers/GitPython/pull/1550/checks
Files changed https://redirect.github.com/gitpython-developers/GitPython/pull/1550/files
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
https://github.co/hiddenchars
https://redirect.github.com/gitpython-developers/GitPython/pull/{{ revealButtonHref }}
https://redirect.github.com/Sineaggi
Sineaggihttps://redirect.github.com/Sineaggi
Jan 27, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1550#issue-1560432440
#1549https://github.com/gitpython-developers/GitPython/issues/1549
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
https://redirect.github.com/Sineaggi
Sineaggihttps://redirect.github.com/Sineaggi
force-pushedhttps://redirect.github.com/gitpython-developers/GitPython/compare/737ec2794e10dd1a0cd890af6478eaeb8da29ba9..8e8b5d5b51f90d3e5816b1b9ddc7e50675b9663b
737ec27https://redirect.github.com/gitpython-developers/GitPython/commit/737ec2794e10dd1a0cd890af6478eaeb8da29ba9
8e8b5d5https://redirect.github.com/gitpython-developers/GitPython/commit/8e8b5d5b51f90d3e5816b1b9ddc7e50675b9663b
Compare https://redirect.github.com/gitpython-developers/GitPython/compare/737ec2794e10dd1a0cd890af6478eaeb8da29ba9..8e8b5d5b51f90d3e5816b1b9ddc7e50675b9663b
January 27, 2023 21:41https://redirect.github.com/gitpython-developers/GitPython/pull/1550#event-8377326055
https://redirect.github.com/Sineaggi
Remove optional from two member variableshttps://redirect.github.com/gitpython-developers/GitPython/pull/1550/commits/cc71f02913eaa4c7c939bc3762342710b009c092
cc71f02https://redirect.github.com/gitpython-developers/GitPython/pull/1550/commits/cc71f02913eaa4c7c939bc3762342710b009c092
https://redirect.github.com/Sineaggi
Sineaggihttps://redirect.github.com/Sineaggi
force-pushedhttps://redirect.github.com/gitpython-developers/GitPython/compare/8e8b5d5b51f90d3e5816b1b9ddc7e50675b9663b..cc71f02913eaa4c7c939bc3762342710b009c092
8e8b5d5https://redirect.github.com/gitpython-developers/GitPython/commit/8e8b5d5b51f90d3e5816b1b9ddc7e50675b9663b
cc71f02https://redirect.github.com/gitpython-developers/GitPython/commit/cc71f02913eaa4c7c939bc3762342710b009c092
Compare https://redirect.github.com/gitpython-developers/GitPython/compare/8e8b5d5b51f90d3e5816b1b9ddc7e50675b9663b..cc71f02913eaa4c7c939bc3762342710b009c092
January 27, 2023 22:20https://redirect.github.com/gitpython-developers/GitPython/pull/1550#event-8377538544
https://redirect.github.com/Sineaggi
Sineaggihttps://redirect.github.com/Sineaggi
Jan 27, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1550#issuecomment-1407136812
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
https://redirect.github.com/Byron
Byronhttps://redirect.github.com/Byron
Jan 28, 2023 https://redirect.github.com/gitpython-developers/GitPython/pull/1550#pullrequestreview-1273834121
View reviewed changes https://redirect.github.com/gitpython-developers/GitPython/pull/1550/files/cc71f02913eaa4c7c939bc3762342710b009c092
Byronhttps://redirect.github.com/Byron
https://redirect.github.com/gitpython-developers/GitPython/pull/1550#pullrequestreview-1273834121
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
https://redirect.github.com/Sineaggi
Add check to test bare repohttps://redirect.github.com/gitpython-developers/GitPython/pull/1550/commits/bc8f1191a3befd1051bd676df630b2fa005fecf0
bc8f119https://redirect.github.com/gitpython-developers/GitPython/pull/1550/commits/bc8f1191a3befd1051bd676df630b2fa005fecf0
https://redirect.github.com/Sineaggi
Sineaggihttps://redirect.github.com/Sineaggi
Feb 1, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1550#issuecomment-1412819654
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
https://redirect.github.com/Byron
Byronhttps://redirect.github.com/Byron
Feb 2, 2023 https://redirect.github.com/gitpython-developers/GitPython/pull/1550#pullrequestreview-1280396266
View reviewed changes https://redirect.github.com/gitpython-developers/GitPython/pull/1550/files/bc8f1191a3befd1051bd676df630b2fa005fecf0
Byronhttps://redirect.github.com/Byron
https://redirect.github.com/gitpython-developers/GitPython/pull/1550#pullrequestreview-1280396266
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
test/test_base.pyhttps://redirect.github.com/gitpython-developers/GitPython/pull/1550/files/bc8f1191a3befd1051bd676df630b2fa005fecf0#diff-1a293b58d544ac5f9d384afd0652dc7e9e17ae7564df252dd5a8fc39543ee0e6
Byronhttps://redirect.github.com/Byron
Feb 2, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1550#discussion_r1094082672
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://user-images.githubusercontent.com/63622/216246481-c70d0788-e210-4b8e-a003-3042f30b5034.png
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
Sineaggihttps://redirect.github.com/Sineaggi
Feb 2, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1550#discussion_r1094814322
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
Sineaggihttps://redirect.github.com/Sineaggi
Feb 2, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1550#discussion_r1094816146
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
Sineaggihttps://redirect.github.com/Sineaggi
February 2, 2023 10:00https://redirect.github.com/gitpython-developers/GitPython/pull/1550#commits-pushed-fb6eb3d
https://redirect.github.com/Sineaggi
Add additional assertions to test_base.pyhttps://redirect.github.com/gitpython-developers/GitPython/pull/1550/commits/fb6eb3d5eb56ce9f27cf23387053d440d6786fe2
fb6eb3dhttps://redirect.github.com/gitpython-developers/GitPython/pull/1550/commits/fb6eb3d5eb56ce9f27cf23387053d440d6786fe2
https://redirect.github.com/Sineaggi
Update docshttps://redirect.github.com/gitpython-developers/GitPython/pull/1550/commits/4a44fdf9d90a537d821c471b1cf1ae6c9e73a2de
4a44fdfhttps://redirect.github.com/gitpython-developers/GitPython/pull/1550/commits/4a44fdf9d90a537d821c471b1cf1ae6c9e73a2de
https://redirect.github.com/Byron
Byronhttps://redirect.github.com/Byron
Feb 2, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1550#issuecomment-1414350434
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
https://redirect.github.com/Byron
Byronhttps://redirect.github.com/Byron
c84dde2https://redirect.github.com/gitpython-developers/GitPython/commit/c84dde218ef896a9b9af4f825ce222a6eb39291e
Feb 2, 2023https://github.com/gitpython-developers/GitPython/pull/1550#event-8425400469
https://redirect.github.com/Byron
Byronhttps://redirect.github.com/Byron
v3.1.31 - Bugfixeshttps://redirect.github.com/gitpython-developers/GitPython/milestone/61
Feb 2, 2023https://redirect.github.com/gitpython-developers/GitPython/pull/1550#event-8425402622
https://redirect.github.com/Sineaggi
Sineaggihttps://redirect.github.com/Sineaggi
February 2, 2023 21:28https://redirect.github.com/gitpython-developers/GitPython/pull/1550#event-8425724474
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1550
https://redirect.github.com/Byron
Byron https://redirect.github.com/Byron
https://redirect.github.com/gitpython-developers/GitPython/pull/1550/files/bc8f1191a3befd1051bd676df630b2fa005fecf0
v3.1.31 - Bugfixes https://redirect.github.com/gitpython-developers/GitPython/milestone/61
working_dir has Optional type when it can't be None https://github.com/gitpython-developers/GitPython/issues/1549
Please reload this pagehttps://redirect.github.com/gitpython-developers/GitPython/pull/1550
https://redirect.github.com/Sineaggi
https://redirect.github.com/Byron
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.