René's URL Explorer Experiment


Title: Improve static typing and docstrings related to git object types by EliahKagan · Pull Request #1859 · gitpython-developers/GitPython · GitHub

Open Graph Title: Improve static typing and docstrings related to git object types by EliahKagan · Pull Request #1859 · gitpython-developers/GitPython

X Title: Improve static typing and docstrings related to git object types by EliahKagan · Pull Request #1859 · gitpython-developers/GitPython

Description: Fixes #1857 Fixes #1858 Fixes #1866 Fixes #1873 Fixes #1874 Fixes #1875 Note: This pull request expanded considerably in scope since first opened, which its title reflects but the rest of this description does not. See comments for details. Main changes This expands the docstrings of Object and some of its subclasses. These revisions are, in large part, to explain the classes' relationships to the git concept of objects and to the corresponding git object types, including links to relevant definitions in gitglossary(7). This also adds docstrings to all the types introduced in git.types--those that relate directly to git object types and those that do not. Adding documentation in git.types relates topically to the docstring expansions for Object and some of its subclasses, and I tried to make all new and edited docstrings make sense whether read by themselves or together with other docstrings across modules. It also relates to the goal for git.types documentation articulated in #1854 (comment). Other changes This also includes some other changes that are less core to that scope but that seem practically useful to include. It revises the docstring for assert_never, which had been the only docstring in git.types, and modifies the string of the default exception it raises to print the repr rather than the str. It removes some long-unused nonpublic names at module level, and revises some method docstrings of classes whose class docstrings were being revised. It also expands the git.compat module docstring, toward the goal for it that was also articulated in #1854 (comment). Considerations for assert_never The change to assert_never, which includes making the docstring accurately describe the current (and established) behavior of the function, may fix #1857. However, as described there I am unsure if this is ultimately the right change there. Considerations for Commit_ish docstring (including possible inaccuracies) Even more important is the relationship of the Commit_ish docstring to #1858. I have said this PR "may" fix that issue, but I strongly suspect that either further refinement will be needed or that a significantly greater change, possibly outside the scope of this PR, may be needed. Furthermore, some of the text in that docstring may require improvement before being suitable for merging. To facilitate writing the docstrings in git.types, including related docstrings and even other parts of the Commit_ish docstring, I wrote text in two parts of the Commit_ish docstring that sound plausible but that I am not at all sure are correct. This is in regard to the question, detailed in #1858, of why Commit_ish union includes the never-commitish Tree and Blob classes. (Even if what I wrote turns out to be correct, it may need to be clarified.) I have opened review comments on those potentially inaccurate lines.

Open Graph Description: Fixes #1857 Fixes #1858 Fixes #1866 Fixes #1873 Fixes #1874 Fixes #1875 Note: This pull request expanded considerably in scope since first opened, which its title reflects but the rest of this desc...

X Description: Fixes #1857 Fixes #1858 Fixes #1866 Fixes #1873 Fixes #1874 Fixes #1875 Note: This pull request expanded considerably in scope since first opened, which its title reflects but the rest of this desc...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:591f5a78-da94-3896-ec68-02c0294f3328
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC40:1E8E88:042D:0582:69694FB5
html-safe-noncedd12fae05a3dcf861ef8e7ec1aeb3ed3c972474c34f904476d3b0b1e32d53135
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzQwOjFFOEU4ODowNDJEOjA1ODI6Njk2OTRGQjUiLCJ2aXNpdG9yX2lkIjoiNDUxNTIzNTI4Mzk1NDM4ODkxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4248b08ae547076e3feb6df198589c35fa538611fddcdc60c8b1c1ee0c94b99f
hovercard-subject-tagpull_request:1755574149
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/1859/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 #1857 Fixes #1858 Fixes #1866 Fixes #1873 Fixes #1874 Fixes #1875 Note: This pull request expanded considerably in scope since first opened, which its title reflects but the rest of this desc...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
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
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/gitpython-developers/GitPython/pull/1859/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1859%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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1859%2Ffiles
Sign up https://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://github.com/gitpython-developers/GitPython/pull/1859/files
Reloadhttps://github.com/gitpython-developers/GitPython/pull/1859/files
Reloadhttps://github.com/gitpython-developers/GitPython/pull/1859/files
gitpython-developers https://github.com/gitpython-developers
GitPythonhttps://github.com/gitpython-developers/GitPython
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1859/files
Notifications https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Fork 964 https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Star 5k https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython
Code https://github.com/gitpython-developers/GitPython
Issues 169 https://github.com/gitpython-developers/GitPython/issues
Pull requests 8 https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/gitpython-developers/GitPython/security
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1859/files
Insights https://github.com/gitpython-developers/GitPython/pulse
Code https://github.com/gitpython-developers/GitPython
Issues https://github.com/gitpython-developers/GitPython/issues
Pull requests https://github.com/gitpython-developers/GitPython/pulls
Discussions https://github.com/gitpython-developers/GitPython/discussions
Actions https://github.com/gitpython-developers/GitPython/actions
Security https://github.com/gitpython-developers/GitPython/security
Insights https://github.com/gitpython-developers/GitPython/pulse
Sign up for GitHub https://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://github.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose
Byronhttps://github.com/Byron
gitpython-developers:mainhttps://github.com/gitpython-developers/GitPython/tree/main
EliahKagan:doc-typeshttps://github.com/EliahKagan/GitPython/tree/doc-types
Conversation 19 https://github.com/gitpython-developers/GitPython/pull/1859
Commits 82 https://github.com/gitpython-developers/GitPython/pull/1859/commits
Checks 0 https://github.com/gitpython-developers/GitPython/pull/1859/checks
Files changed https://github.com/gitpython-developers/GitPython/pull/1859/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1859/files
Improve static typing and docstrings related to git object types https://github.com/gitpython-developers/GitPython/pull/1859/files#top
Show all changes 82 commits https://github.com/gitpython-developers/GitPython/pull/1859/files
f83b056 Revise assert_never EliahKagan Mar 2, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/f83b056e6d89c45df8f3fb57fa3e0c6dbc16772b
01cc8e2 Fix unnecessarily long reference in Tree docstrings EliahKagan Mar 3, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/01cc8e28ae1677286e32f9f00764dbefe83c3787
6f3a20f Change how tree[subscript] is introduced EliahKagan Mar 3, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/6f3a20f1b651a75d38366f177708a96dd78d157e
85889cd Refine how tree[subscript] is introduced EliahKagan Mar 3, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/85889cde01292c2c4b041eb031f645a5fdf62f27
9e47083 Start adding docstrings to types in git.types EliahKagan Mar 3, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/9e470839fe0a082cfdb61ba18f31e5e18cd345ad
3bd8177 Document Tree_ish, Commit_ish, and related types EliahKagan Mar 3, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/3bd8177f07e724edfb780c8b19149fd19577cb88
f3b9a69 Expand docs of classes representing Git objects EliahKagan Mar 3, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/f3b9a695a066360c5dc0ce0209d8bd4a57126930
2af7640 Do a bit of tidying related to unused names EliahKagan Mar 3, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/2af7640345697888cce7c6eae7ab247aed2e497f
2aa053e Add docstrings to TypedDicts in git.types EliahKagan Mar 3, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/2aa053e0d1eead06dce588265fdc8c0a1f29f7cd
15d50de Revise a couple new docstrings for clarity EliahKagan Mar 4, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/15d50dee206c6e834ad9bea53ab182de381d7d41
7166703 Fix possible inaccuracy in Lit_config_levels docstring EliahKagan Mar 4, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/716670326d5fba5356628408237dfb7786d5d228
1530fd2 Use phrases like "git object type" where applicable EliahKagan Mar 4, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/1530fd2b8137bb7c93206cdb373374db46c884c1
2e02b09 Add docstrings to protocols in git.types EliahKagan Mar 4, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/2e02b09f1d9aeda2db1fe2340c131bb42ab87cb9
012d710 Move our PathLike below even TYPE_CHECKING imports EliahKagan Mar 4, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/012d710c18ee59bafa9565f9d9ca5609a88d21f8
a06f1fc Remove commented-out is_config_level function EliahKagan Mar 4, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/a06f1fc9834f8fc1feffd0249ef38c1cca302945
c93e431 Expand git.compat docstring EliahKagan Mar 4, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/c93e431e73b896515999b6dbb4cf61ac6931fd37
29443ce Add a cationary note about Object vs. object EliahKagan Mar 4, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/29443ce94b3a687a5ab85edadafc231f8e5455ee
b6e3ad2 Don't bind unused _assertion_msg_format EliahKagan Mar 4, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/b6e3ad2f9cf00e066ac40ec472143ec99b2f90db
b5d9198 Remove commented-out code EliahKagan Mar 6, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/b5d91987a2ad160ab5ca7e5e5ca95bf332536549
2212ac9 Fix Sphinx reference that rendered overly long EliahKagan Mar 7, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/2212ac98912b66eb848cd60e7f5c43067dc0c1d7
3c5ca52 Simplify _safer_popen_windows "if shell" logic EliahKagan Mar 7, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/3c5ca52b2462964e1d478ec796dd7c5dd8bb2f68
43b7f8a Annotate safer_popen broad enough for all platforms EliahKagan Mar 7, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/43b7f8a3eb299c550674c6f95c9919019dc5a194
dc95a76 Fix mypy error with creationflags in subprocess module EliahKagan Mar 7, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/dc95a768b3381cf5a68fc9ad4e8dc4bba37b0ca0
4191f7d Refactor kill_after_timeout logic so mypy can check it EliahKagan Mar 7, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/4191f7d598206ee829376e1a2a4e95ea571de500
1ef3365 Factor communicate and watchdog logic to helper EliahKagan Mar 7, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/1ef336514a3513c7723a85ea295202560e7f40f0
4083dd8 Fix new mypy confusion about kill_after_timeout type EliahKagan Mar 7, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/4083dd896ad53f84e96f447b58cdf9acc1b02db3
3aeef46 Fix how Diffable annotates expected repo attribute EliahKagan Mar 7, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/3aeef466dea47d088fc7356b87589ee550c2030a
f1cc1fe Fix how HEAD annotates inherited commit property EliahKagan Mar 8, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/f1cc1fe7c9497c97716af4c3071effaa37b89e79
e133018 Broaden cygpath parameter annotation EliahKagan Mar 8, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/e133018954cc38c09206de0236a281385f98e072
c34a466 Have Repo.__init__ convert epath to str first instead EliahKagan Mar 8, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/c34a466bb3c6b74ee2335bf8cb6511b9b17bdce5
4dfd480 Fix how Remote annotates dynamic config-backed url attribute EliahKagan Mar 8, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/4dfd48098c9c2ecf60ff29102c7c211311f8e93a
e4fd2e3 Drop wrong variable annotations in BlobFilter.__call__ EliahKagan Mar 8, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/e4fd2e343b4e7ece9df1269da9802b965ede4c51
94344b4 Clarify CallableProgress vs. CallableRemoteProgress EliahKagan Mar 8, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/94344b49b6dc38067cbb9aa2063043ac8e0a37eb
8e8b87a Fix RootModule.update `ignore[override]` suppression EliahKagan Mar 8, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/8e8b87a573dd7ca27d3556788c0da20faa803cfd
1cdec7a Fix wrong class name in git.objects.tag docstring EliahKagan Mar 8, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/1cdec7afcd8e4d69dbb9f8e596282c6ddb6414be
ed6ead9 Correct and clarify Diffable.diff docstring EliahKagan Mar 8, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/ed6ead969914597a56aca752aadd044a276f1137
0e1df29 Start fixing diff and _process_diff_args type annotations EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/0e1df29c171e8d6d7dd62f5840d88a9bfd0ef3ab
62c0823 Consolidate str and os.PathLike[str] (use GitPython's PathLike) EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/62c0823da472a4f9c714827291d15a6f36abebda
7204cc1 Further clarify Diffable.diff docstring EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/7204cc106cc055b5bdd841dcc2a1c4c18e60fcf3
2f5e258 Annotate _process_diff_args without Diffable.Index EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/2f5e258d2b232685993c589b51445e51b0c2a185
65863a2 Make NULL_TREE and Index precisely annotatable EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/65863a28c2bfebe084e1c86d409fbf68b0b33a76
c9952e1 Fix Sphinx references; give Diffable.Index a docstring EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/c9952e14b51140e7307a031149fbe15ab5911abd
b8a25df Modify annotations to accommodate NULL_TREE EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/b8a25dfbe1c7a3811549ab2fd4e10482af70f752
e49327d Add refresh to top-level __all__ EliahKagan Feb 24, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/e49327dbe5ecd792d3c354155b6f186b31409c33
c8ad3a3 Deprecate public access to typing imports in git EliahKagan Feb 24, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/c8ad3a36d39adddb36f62722678cdada49f94708
3c8cbe9 Mention collections.abc for Sequence EliahKagan Mar 5, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/3c8cbe90abb0f8b38bf53b111fac3e1d1e0a8de3
87b314e Add INDEX and DiffConstants to git.__all__ EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/87b314ee1374e0c295ba65248b2c69c6c15378c7
9ed904c Adjust mypy options to work well with mypy 1.9.0 EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/9ed904cf6d3c36192161cded9615fefc2bf18bf7
aeacb00 Colorize mypy output on CI for easier reading EliahKagan Mar 9, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/aeacb001e9d316ffcc054761c033eb3c107f03e1
84fc806 Remove some unneeded mypy suppressions EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/84fc8062dccbf9c5e415f4ce0100e0a18680bca8
96ecc2e Drop deprecated mypy option EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/96ecc2edeb14b950737d7f6937055c2b19ea5d5a
97d9b65 Apply intended suppression in Tree.traverse EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/97d9b65937ffe9b7ce374dccdbfd4ef24b327b4a
ad00c77 Spell self.Index as self.INDEX in IndexFile.diff EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/ad00c77b39707ca9a347780a18701e342128bcf2
2decbe4 Test that redefined Diffable.Index should be compatible EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/2decbe45019fc8dcc6904fcdc6f1088f52b9f00c
88557bc Have git module use sys.platform to check for Windows EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/88557bc066209db37101938236792bf0fdd6c535
7204c13 Fix new mypy error in _read_win_env_flag EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/7204c131fdcb4132e34a4f6d4c38af71083afdb1
42e10c0 Fix new mypy error in is_cygwin_git EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/42e10c07436cd6186ffff1861c466838366fe9f0
465ab56 Have test suite use sys.platform to check for Windows EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/465ab56b25261dc5830b3c4b91b39c7346c527df
ad8190b Wrap docstrings and comments in _safer_popen_windows EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/ad8190bbb41db9056aefa1a29176b196c4edb466
b9d9e56 Further improve _safer_popen_windows doc EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/b9d9e5642f84e7796b5242d155df7bdc28413303
04a2753 Temporarily rename Commit_ish to Old_commit_ish EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/04a27531bf1d434a8da9d17298058d1f860fe019
787f65c Define and document AnyGitObject and (new) Commit_ish EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/787f65cc7d80cd4fb73b37847718a32473b5d985
1fe4dc8 Define GitObjectTypeString and update Object to use it EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/1fe4dc88dcab2a61608c247853a502f7c5186d4b
7328a00 Start fixing annotations that used the old Commit_ish EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/7328a00170c20425760b0c20212042c1b884cb5b
191f4cf Fix some annotations in git.repo.fun EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/191f4cf2e7fe2aef2e8583910b50b878bc66d3ed
d1ce940 Remove extra `parents` param in Commit.__init__ docstring EliahKagan Mar 10, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/d1ce94048ecaccf64f6bee0ad20f33df256e1139
fe42ca7 Help tools know the type of a Commit's `parents` EliahKagan Mar 11, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/fe42ca78c4dfb8a9afb442307d43c380c9751a71
e66297a Keep the type of a Commit's `parents` from being too narrow EliahKagan Mar 11, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/e66297a104c7acfcac21dd0a33e7d0581596f251
fe7f9f2 Fix remaining old Commit_ish annotations in git.repo.fun EliahKagan Mar 11, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/fe7f9f2b27fa43d0340887abce63820dd40ea607
ab27827 Fix remaining old Commit_ish annotations in git.refs EliahKagan Mar 11, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/ab2782762515a8e49acc1f195bf8d8aebbafff6c
b4b6e1e Fix IndexFile.commit `parent_commits` annotation EliahKagan Mar 11, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/b4b6e1ee0c94dd22886ee326f476f8dcfd49647b
5b2869f Fix old Commit_ish annotations in git.remote EliahKagan Mar 11, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/5b2869faccbda659e12f2b1e7ca78b69ba770a11
1541c62 Start on fixing Submodule parent_commit annotations EliahKagan Mar 11, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/1541c62d86e334980d008d1e8ff0c6623ae2e2a0
1f03e7f Fix other submodule.base parent_commit annotations EliahKagan Mar 14, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/1f03e7fc23745c64de7a54a92c79ddfa96cd1025
e66b8f1 Fix old Commit_ish annotation in RootModule EliahKagan Mar 14, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/e66b8f1598343077e91fbb1c5483e22cdcdf0faa
93d19dc Remove the temporary Old_commit_ish type EliahKagan Mar 14, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/93d19dcbc9a44607420f3d47c602419efc7b4b82
ebcfced Fix and deprecate Lit_commit_ish EliahKagan Mar 14, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/ebcfced0eebe0008ac5c11dad8b1fea7091424bd
b070e93 Make some broad mypy suppressions more specific EliahKagan Mar 14, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/b070e933fef5d1e86d3fb43c1613c03a760bbc50
0b99041 Merge branch 'main' into doc-types EliahKagan Mar 14, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/0b990414237ef68403881942cbb9ff1286893b8a
011cb0a Apply Ruff auto-fixes not included in merge EliahKagan Mar 14, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/011cb0a134396e5f2713897e0c22f5124b156cf4
74f3c2e Help Ruff avoid a very long line EliahKagan Mar 14, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/74f3c2e7ad65e112d7e04644bc05b838c9c60d7f
5778b7a Use LBYL for imports where EAFP is a mypy type error EliahKagan Mar 14, 2024 https://github.com/gitpython-developers/GitPython/pull/1859/commits/5778b7a01b988e711216fa5541cfdc50c0460476
Clear filters https://github.com/gitpython-developers/GitPython/pull/1859/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1859/files
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1859/files
pythonpackage.yml https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-ee68bef8369ed7bc5460a288e72d62152784762ef66851e07bf134c4075a08f0
__init__.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63
cmd.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-35a18a749eb4d6efad45e56e78a9554926be5526e2ba2159b44311e718450e88
compat.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-2f2b548c14a71e5bbf15502f6d7fd98a50842119152c451ae2ec5e1cc42f02d2
config.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-dd51b67c435dfba6f72cc0d08f99456393556623a0f098ac2808d1a7cb78d53a
diff.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-300633890a1b325dfed86bb5120d89465f0687f4f6b8d5701c44c02f0eee723a
base.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-56d167dc0ca4d51682e56b5e602c096f3f264fd1ebb61cc03bbb6c409c866eeb
fun.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-1d155f283cbf575ea2d0cce3e16d9c60d5fab54c83626603f47eabd2334084b6
typ.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-fd9e9d3e4c47089d82e46f7fb5f3fa4d4de8ae19c022d2a67cb75827a5249e3b
base.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-4fcf911ecd03484eb6c89186dde3ebaa272e9925d4c0da8a5dd358770aa9d21e
blob.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-96eacc88b5c5d8052653c692fa5c7694e27ded26c4f954e95ef9b9ccb83b8e09
commit.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-88141770c3f374c9bacdef629c161e7bc75e7a1585827f5a35671b89df14291f
base.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-44dc32942e129beb7f738ff7d487bfbddb0a7802a91d43c9b8b8952a4d0806bc
root.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-7df742abf80356d1e22c392ee26cd2d87f89158b9f70bff6fb936eaf4c7e7faf
tag.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-2526bf3fc6f6f4689c5b99b122e3954143bbf5997e3b81a6e7a0a7409fb61ac1
tree.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-5ca1e907ced91070e5b2b7136778f5a609b66f5bdbca65498662e99f86b23b3b
util.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-c91a265ba9028bfac459e1cfb58e2b609d346437e45de5c6c458732b6e1716e4
head.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-79302e4aa7752927c17b41ff1d8f51292daf92f3798b95d3c37264bf09b7955e
reference.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-d487c8c0e0bc8b6d15753074e1ce753b11b61961c3ce23b378261d897e3cf5ac
remote.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-b8020d2185188d5a8e5ab969bb80d2e710c0160c3a80c4346f99ad01e29ae3d6
symbolic.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-72d42177f0e8535634711b5de0390d5bc81dbedab1fbac6547e5b9ab3b03eb9a
tag.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-4bf30866264cf0b3fcbe77304ef647e0b3035659184354ed480f5093f1ef6a71
remote.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639
base.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-3cc1aaf2f1e2bc1341d3f71ceec44b2762b981280b4d162e26327bd558721fe1
fun.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-f2cffc685a5db38b89ee1f237fba0d00f9d4d9a575f55d2edd374f3f31422b89
types.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-7b61e3545630e0a388178487cb7018546b39eb3f92e6553c18c3c3e11300cfda
util.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e
pyproject.toml https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
helper.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-40ae45f85a8b0daaafdc002d6bd2f4c6701b6b248332c67f15d3c15a425de3ba
test_base.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-1a293b58d544ac5f9d384afd0652dc7e9e17ae7564df252dd5a8fc39543ee0e6
test_config.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-45fa5f8530eb815c0cf606032e587adedb04dc70e59b203535d51c44654cfc4d
test_diff.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-a4c794e0849bb401148549f5efcaa756477ae6f7c2976d2ebf7cb56ff7850139
test_git.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-84c4b72d5c62026240fad69041a453efc37f7336a89035b69672cce0e8beaca1
test_index.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-21c27b991511d3d0e3a14b4dfb56017689de2fa114c3edf11c577bd1ce744b72
test_remote.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-8f71eea0871a97cc5c7757598e3ffaeacb8cd38f6f5f1742e21fd07364d3a698
test_repo.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-f50d635cf31b095a03b42fc1a73681a9c4025bbeb58b81e72588ba37e00cff87
test_submodule.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-78179a32c1d54a6b78b018ee57328d6ea9424fbfbdbb36caf15e290331621024
test_util.py https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-62b93f19eeb2c5ff6e26eaccf3f63ee6641e87f3a6ccfc2ffb0dec86925ae245
.github/workflows/pythonpackage.ymlhttps://github.com/gitpython-developers/GitPython/pull/1859/files#diff-ee68bef8369ed7bc5460a288e72d62152784762ef66851e07bf134c4075a08f0
View file https://github.com/EliahKagan/GitPython/blob/5778b7a01b988e711216fa5541cfdc50c0460476/.github/workflows/pythonpackage.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/1859/{{ revealButtonHref }}
https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-ee68bef8369ed7bc5460a288e72d62152784762ef66851e07bf134c4075a08f0
https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-ee68bef8369ed7bc5460a288e72d62152784762ef66851e07bf134c4075a08f0
git/__init__.pyhttps://github.com/gitpython-developers/GitPython/pull/1859/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63
View file https://github.com/EliahKagan/GitPython/blob/5778b7a01b988e711216fa5541cfdc50c0460476/git/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/gitpython-developers/GitPython/pull/1859/{{ revealButtonHref }}
https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63
https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63
https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63
https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63
https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63
https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63
https://github.com/gitpython-developers/GitPython/pull/1859/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63
Please reload this pagehttps://github.com/gitpython-developers/GitPython/pull/1859/files
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.