-
-
Notifications
You must be signed in to change notification settings - Fork 937
Added types to Index submodule #1244
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
9636459
Add initial types to IndexFile .init() to _to_relative_path()
Yobmod 4dff200
Add initial types to IndexFile .init() to _to_relative_path()
Yobmod c3f91bd
Add initial types to IndexFile .init() to _to_relative_path()
Yobmod 78d12aa
Add remaining types to IndexFile ._preprocess_add_items() to .diff()
Yobmod 11d91e2
Add remaining types to IndexFile ._preprocess_add_items() to .diff()
Yobmod 7c6c8dc
Add remaining types to IndexFile ._store_items() ._entries_for_paths()
Yobmod 158b3c7
Add types to index.typ.py
Yobmod f58702b
Add types to index.util.py
Yobmod 595181d
flake8 and mypy fixes
Yobmod 025fe17
add types to index.fun.py
Yobmod 473fc3a
forward reference for IndexFile
Yobmod f08d306
forward reference for IndexFile
Yobmod 969185b
index.base unmerged_blobs() doc string
Yobmod c30bf3b
Tidy up some comments
Yobmod File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It really does look like it returns a dict, and the type system probably agrees.
In these cases it should be fine to fix the documentation, which rightfully is confused about types in a codebase that thus far didn't have any statically declared.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, i changed the docstring then