Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork961
Finish initial typing of Index and Submodule#1285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
73 commits Select commitHold shift + click to select a range
16f0607 Improve typing of config_levels, add assert_never()
Yobmod9400246 Fix IndexFile forwardref
Yobmode4caa80 put typing_extensions.get_types() behind python version guard
Yobmod0939e38 fix is_config_level for < 3.8
Yobmod0fc93b5 Rmv is_config_level() and get_args(), not worth the trouble
Yobmod53f1195 Add Literal_config_levels.__args__
Yobmod41e9781 Improve BlameEntry.commit typing
Yobmod23b5d6b Add types to submodule.util.py
Yobmodc2317a7 Make bytesIO forwardref
Yobmoda935134 Add types to submodule.root.py
Yobmod3ce319f Add types to submodule.update()
Yobmod6471018 Improve types of @unbare_repo and @git_working_dir decorators
Yobmodfb09bfa Improve types of diff.py
Yobmod2a6a2e2 Improve types of diff.py
Yobmod3578355 Add cast(Repo, mrepo) in try block
Yobmod1bcccd5 Fix Literal Typeguards
Yobmod278a371 Fix for mrepo
Yobmoddeafa6a Fix for mrepo2
Yobmode6f340c Rmv runtime_checkable < py3.8
Yobmoded58e2f Rmv runtime_checkable < py3.8 pt2
Yobmodeecf148 Rmv root.py types
Yobmoda857b97 Merge branch 'gitpython-developers:main' into main
Yobmodb78cca1 Rmv base.py types
Yobmod8ef1adb Merge branch 'main' of https://github.com/Yobmod/gitpython
Yobmod6aebb73 Rmv submodule types
Yobmodc0ab23e Rmv submodule types2
Yobmod8d2a770 Rmv diff typeguard
Yobmod1fd9e8c Re-add submodule.util.py types
Yobmod1eceb89 Fix submodule.util.py types
Yobmod215abfd Readd typeguard to Diff.py
Yobmod94c2ae4 Readd submodule.base.py types
Yobmod06eca0b Make subodule a forward ref in Index.base
Yobmod33ffd0b Make subodule a forward ref in Index.base2
Yobmodaf7cee5 Make Repo a forward ref in Submodule.base
Yobmodf372187 Make subodule a forward ref in Index.base3
Yobmodde36cb6 UnMake subodule a forward ref in Index.base
Yobmod3cc0edc UnMake subodule a forward ref in Index.base2
Yobmod28bde39 Type index _items_to_rela_paths()
Yobmod1d0e666 Check change_levels (should fail)
Yobmode985851 Add 'U' to change_levels (should pass)
Yobmod873ebe6 Make diff.DiffIndex generic List['Diff']
Yobmod2e2fe18 Increase mypy strictness (no_implicit_optional & warn_redundant_casts…
Yobmod5d3818e Finish initial typing of index folder
Yobmod9f88796 Mak GitCmdObjectDB a froward ref
Yobmod1533596 Mak EntryTup a froward ref
Yobmod4333dcb Mmmmm
Yobmodfe5fef9 Mmmmmm
Yobmodd344abf Fix traverse_trees_recursive()
Yobmoddfbc0f4 Fix traverse_trees_recursive() again
Yobmodc27d2b0 Use Tuple not tuple
Yobmod4f13b4e fix base,ours,theirs typing
Yobmod627deff Change List to MutableSequence in fun.py _find_by_name()
Yobmodf271c58 tests TraversableIterableObj typeguard
Yobmod4802a36 improve TraversableIterableObj typeguard
Yobmod1faa25f Rmv typeguard from list_traverse(), was wrong
Yobmodf4cb7db Change type of list_traverse() again.
Yobmod030b1fd Add list_traverse() to Tree and TraversableIterableObj.
Yobmod3710e24 Rmv circular import, create Has_id_attribute Protocol instead
Yobmod5eea891 Fix list_traverse() docstring for Autodoc
Yobmod9377462 Make has_repo protocol runtime checkable and use in Diffable
Yobmod3c6deb0 Flatten list_traverse()
Yobmoda024bdd Move TraverseNT to global, cos mypy complained on testing
Yobmod6271660 Rmv submodule.base Repo assert
Yobmod7c6ae2b Try to distinguation git.diff module from diff.Diff.diff and diff.Daf…
Yobmodf916c14 Improve Diffable method typing
Yobmode7b685d Rmv Diffable assert, add Remoote.url property
Yobmod9bb630f Add remote.url type
Yobmodb03af05 Remove defsult_index decorator from diff() and do check within functi…
Yobmod797e962 Make IndexFile and Diffable .diff() types agree
Yobmod09053c5 Improve IndexFile_process_diff_args() to get checks to rerun
Yobmod2ea528e Fix typing of index.fun.write_tree_from_cache()
Yobmode6a27ad Use TreeCacheTup type alias throughout
Yobmod94c6652 Make TreeCacheTup forward ref
YobmodFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
2 changes: 1 addition & 1 deletiongit/cmd.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
43 changes: 23 additions & 20 deletionsgit/config.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
101 changes: 58 additions & 43 deletionsgit/diff.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.