FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
Improve static typing and docstrings related to git object types by EliahKagan · Pull Request #1859 · gitpython-developers/GitPython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
gitpython-developers
/
GitPython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
989
Star
5.2k
Code
Issues
8
Pull requests
3
Discussions
Actions
Security and quality
31
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Improve static typing and docstrings related to git object types
- #1859
#1859
Merged
Byron
merged 82 commits into
gitpython-developers:main
gitpython-developers/GitPython:main
from
EliahKagan:doc-types
EliahKagan/GitPython:doc-types
Copy head branch name to clipboard
Mar 14, 2024
Conversation
Commits
82
(82)
Checks
Files changed
Merged
Improve static typing and docstrings related to git object types
#1859
Byron
merged 82 commits into
gitpython-developers:main
gitpython-developers/GitPython:main
from
EliahKagan:doc-types
EliahKagan/GitPython:doc-types
Copy head branch name to clipboard
Commits
Commits on Mar 3, 2024
Revise assert_never
Show description for f83b056
EliahKagan
committed
f83b056
View commit details
Copy full SHA for f83b056
Browse repository at this point
Fix unnecessarily long reference in Tree docstrings
Show description for 01cc8e2
EliahKagan
committed
01cc8e2
View commit details
Copy full SHA for 01cc8e2
Browse repository at this point
Change how tree[subscript] is introduced
Show description for 6f3a20f
EliahKagan
committed
6f3a20f
View commit details
Copy full SHA for 6f3a20f
Browse repository at this point
Refine how tree[subscript] is introduced
Show description for 85889cd
EliahKagan
committed
85889cd
View commit details
Copy full SHA for 85889cd
Browse repository at this point
Start adding docstrings to types in git.types
EliahKagan
committed
9e47083
View commit details
Copy full SHA for 9e47083
Browse repository at this point
Document Tree_ish, Commit_ish, and related types
Show description for 3bd8177
EliahKagan
committed
3bd8177
View commit details
Copy full SHA for 3bd8177
Browse repository at this point
Commits on Mar 4, 2024
Expand docs of classes representing Git objects
Show description for f3b9a69
EliahKagan
committed
f3b9a69
View commit details
Copy full SHA for f3b9a69
Browse repository at this point
Do a bit of tidying related to unused names
Show description for 2af7640
EliahKagan
committed
2af7640
View commit details
Copy full SHA for 2af7640
Browse repository at this point
Add docstrings to TypedDicts in git.types
EliahKagan
committed
2aa053e
View commit details
Copy full SHA for 2aa053e
Browse repository at this point
Revise a couple new docstrings for clarity
EliahKagan
committed
15d50de
View commit details
Copy full SHA for 15d50de
Browse repository at this point
Fix possible inaccuracy in Lit_config_levels docstring
Show description for 7166703
EliahKagan
committed
7166703
View commit details
Copy full SHA for 7166703
Browse repository at this point
Use phrases like "git object type" where applicable
Show description for 1530fd2
EliahKagan
committed
1530fd2
View commit details
Copy full SHA for 1530fd2
Browse repository at this point
Add docstrings to protocols in git.types
EliahKagan
committed
2e02b09
View commit details
Copy full SHA for 2e02b09
Browse repository at this point
Move our PathLike below even TYPE_CHECKING imports
Show description for 012d710
EliahKagan
committed
012d710
View commit details
Copy full SHA for 012d710
Browse repository at this point
Remove commented-out is_config_level function
Show description for a06f1fc
EliahKagan
committed
a06f1fc
View commit details
Copy full SHA for a06f1fc
Browse repository at this point
Expand git.compat docstring
Show description for c93e431
EliahKagan
committed
c93e431
View commit details
Copy full SHA for c93e431
Browse repository at this point
Add a cationary note about Object vs. object
Show description for 29443ce
EliahKagan
committed
29443ce
View commit details
Copy full SHA for 29443ce
Browse repository at this point
Don't bind unused _assertion_msg_format
Show description for b6e3ad2
EliahKagan
committed
b6e3ad2
View commit details
Copy full SHA for b6e3ad2
Browse repository at this point
Commits on Mar 6, 2024
Remove commented-out code
EliahKagan
committed
b5d9198
View commit details
Copy full SHA for b5d9198
Browse repository at this point
Commits on Mar 7, 2024
Fix Sphinx reference that rendered overly long
EliahKagan
committed
2212ac9
View commit details
Copy full SHA for 2212ac9
Browse repository at this point
Simplify _safer_popen_windows "if shell" logic
Show description for 3c5ca52
EliahKagan
committed
3c5ca52
View commit details
Copy full SHA for 3c5ca52
Browse repository at this point
Annotate safer_popen broad enough for all platforms
Show description for 43b7f8a
EliahKagan
committed
43b7f8a
View commit details
Copy full SHA for 43b7f8a
Browse repository at this point
Fix mypy error with creationflags in subprocess module
Show description for dc95a76
EliahKagan
committed
dc95a76
View commit details
Copy full SHA for dc95a76
Browse repository at this point
Refactor kill_after_timeout logic so mypy can check it
Show description for 4191f7d
EliahKagan
committed
4191f7d
View commit details
Copy full SHA for 4191f7d
Browse repository at this point
Factor communicate and watchdog logic to helper
Show description for 1ef3365
EliahKagan
committed
1ef3365
View commit details
Copy full SHA for 1ef3365
Browse repository at this point
Fix new mypy confusion about kill_after_timeout type
Show description for 4083dd8
EliahKagan
committed
4083dd8
View commit details
Copy full SHA for 4083dd8
Browse repository at this point
Fix how Diffable annotates expected repo attribute
Show description for 3aeef46
EliahKagan
committed
3aeef46
View commit details
Copy full SHA for 3aeef46
Browse repository at this point
Commits on Mar 8, 2024
Fix how HEAD annotates inherited commit property
Show description for f1cc1fe
EliahKagan
committed
f1cc1fe
View commit details
Copy full SHA for f1cc1fe
Browse repository at this point
Broaden cygpath parameter annotation
Show description for e133018
EliahKagan
committed
e133018
View commit details
Copy full SHA for e133018
Browse repository at this point
Have Repo.__init__ convert epath to str first instead
Show description for c34a466
EliahKagan
committed
c34a466
View commit details
Copy full SHA for c34a466
Browse repository at this point
Fix how Remote annotates dynamic config-backed url attribute
Show description for 4dfd480
EliahKagan
committed
4dfd480
View commit details
Copy full SHA for 4dfd480
Browse repository at this point
Drop wrong variable annotations in BlobFilter.__call__
Show description for e4fd2e3
EliahKagan
committed
e4fd2e3
View commit details
Copy full SHA for e4fd2e3
Browse repository at this point
Clarify CallableProgress vs. CallableRemoteProgress
Show description for 94344b4
EliahKagan
committed
94344b4
View commit details
Copy full SHA for 94344b4
Browse repository at this point
Fix RootModule.update `ignore[override]` suppression
Show description for 8e8b87a
EliahKagan
committed
8e8b87a
View commit details
Copy full SHA for 8e8b87a
Browse repository at this point
Fix wrong class name in git.objects.tag docstring
Show description for 1cdec7a
EliahKagan
committed
1cdec7a
View commit details
Copy full SHA for 1cdec7a
Browse repository at this point
Correct and clarify Diffable.diff docstring
Show description for ed6ead9
EliahKagan
committed
ed6ead9
View commit details
Copy full SHA for ed6ead9
Browse repository at this point
Commits on Mar 9, 2024
Start fixing diff and _process_diff_args type annotations
Show description for 0e1df29
EliahKagan
committed
0e1df29
View commit details
Copy full SHA for 0e1df29
Browse repository at this point
Consolidate str and os.PathLike[str] (use GitPython's PathLike)
Show description for 62c0823
EliahKagan
committed
62c0823
View commit details
Copy full SHA for 62c0823
Browse repository at this point
Further clarify Diffable.diff docstring
Show description for 7204cc1
EliahKagan
committed
7204cc1
View commit details
Copy full SHA for 7204cc1
Browse repository at this point
Annotate _process_diff_args without Diffable.Index
Show description for 2f5e258
EliahKagan
committed
2f5e258
View commit details
Copy full SHA for 2f5e258
Browse repository at this point
Make NULL_TREE and Index precisely annotatable
Show description for 65863a2
EliahKagan
committed
65863a2
View commit details
Copy full SHA for 65863a2
Browse repository at this point
Fix Sphinx references; give Diffable.Index a docstring
EliahKagan
committed
c9952e1
View commit details
Copy full SHA for c9952e1
Browse repository at this point
Modify annotations to accommodate NULL_TREE
Show description for b8a25df
EliahKagan
committed
b8a25df
View commit details
Copy full SHA for b8a25df
Browse repository at this point
Add refresh to top-level __all__
Show description for e49327d
EliahKagan
committed
e49327d
View commit details
Copy full SHA for e49327d
Browse repository at this point
Deprecate public access to typing imports in git
Show description for c8ad3a3
EliahKagan
committed
c8ad3a3
View commit details
Copy full SHA for c8ad3a3
Browse repository at this point
Mention collections.abc for Sequence
Show description for 3c8cbe9
EliahKagan
committed
3c8cbe9
View commit details
Copy full SHA for 3c8cbe9
Browse repository at this point
Add INDEX and DiffConstants to git.__all__
Show description for 87b314e
EliahKagan
committed
87b314e
View commit details
Copy full SHA for 87b314e
Browse repository at this point
Adjust mypy options to work well with mypy 1.9.0
Show description for 9ed904c
EliahKagan
committed
9ed904c
View commit details
Copy full SHA for 9ed904c
Browse repository at this point
Colorize mypy output on CI for easier reading
Show description for aeacb00
EliahKagan
committed
aeacb00
View commit details
Copy full SHA for aeacb00
Browse repository at this point
Commits on Mar 10, 2024
Remove some unneeded mypy suppressions
Show description for 84fc806
EliahKagan
committed
84fc806
View commit details
Copy full SHA for 84fc806
Browse repository at this point
Drop deprecated mypy option
Show description for 96ecc2e
EliahKagan
committed
96ecc2e
View commit details
Copy full SHA for 96ecc2e
Browse repository at this point
Apply intended suppression in Tree.traverse
Show description for 97d9b65
EliahKagan
committed
97d9b65
View commit details
Copy full SHA for 97d9b65
Browse repository at this point
Spell self.Index as self.INDEX in IndexFile.diff
Show description for ad00c77
EliahKagan
committed
ad00c77
View commit details
Copy full SHA for ad00c77
Browse repository at this point
Test that redefined Diffable.Index should be compatible
Show description for 2decbe4
EliahKagan
committed
2decbe4
View commit details
Copy full SHA for 2decbe4
Browse repository at this point
Have git module use sys.platform to check for Windows
Show description for 88557bc
EliahKagan
committed
88557bc
View commit details
Copy full SHA for 88557bc
Browse repository at this point
Fix new mypy error in _read_win_env_flag
Show description for 7204c13
EliahKagan
committed
7204c13
View commit details
Copy full SHA for 7204c13
Browse repository at this point
Fix new mypy error in is_cygwin_git
Show description for 42e10c0
EliahKagan
committed
42e10c0
View commit details
Copy full SHA for 42e10c0
Browse repository at this point
Have test suite use sys.platform to check for Windows
Show description for 465ab56
EliahKagan
committed
465ab56
View commit details
Copy full SHA for 465ab56
Browse repository at this point
Wrap docstrings and comments in _safer_popen_windows
Show description for ad8190b
EliahKagan
committed
ad8190b
View commit details
Copy full SHA for ad8190b
Browse repository at this point
Further improve _safer_popen_windows doc
Show description for b9d9e56
EliahKagan
committed
b9d9e56
View commit details
Copy full SHA for b9d9e56
Browse repository at this point
Temporarily rename Commit_ish to Old_commit_ish
Show description for 04a2753
EliahKagan
committed
04a2753
View commit details
Copy full SHA for 04a2753
Browse repository at this point
Define and document AnyGitObject and (new) Commit_ish
Show description for 787f65c
EliahKagan
committed
787f65c
View commit details
Copy full SHA for 787f65c
Browse repository at this point
Define GitObjectTypeString and update Object to use it
Show description for 1fe4dc8
EliahKagan
committed
1fe4dc8
View commit details
Copy full SHA for 1fe4dc8
Browse repository at this point
Start fixing annotations that used the old Commit_ish
EliahKagan
committed
7328a00
View commit details
Copy full SHA for 7328a00
Browse repository at this point
Fix some annotations in git.repo.fun
EliahKagan
committed
191f4cf
View commit details
Copy full SHA for 191f4cf
Browse repository at this point
Remove extra `parents` param in Commit.__init__ docstring
Show description for d1ce940
EliahKagan
committed
d1ce940
View commit details
Copy full SHA for d1ce940
Browse repository at this point
Commits on Mar 11, 2024
Help tools know the type of a Commit's `parents`
Show description for fe42ca7
EliahKagan
committed
fe42ca7
View commit details
Copy full SHA for fe42ca7
Browse repository at this point
Keep the type of a Commit's `parents` from being too narrow
Show description for e66297a
EliahKagan
committed
e66297a
View commit details
Copy full SHA for e66297a
Browse repository at this point
Fix remaining old Commit_ish annotations in git.repo.fun
Show description for fe7f9f2
EliahKagan
committed
fe7f9f2
View commit details
Copy full SHA for fe7f9f2
Browse repository at this point
Fix remaining old Commit_ish annotations in git.refs
Show description for ab27827
EliahKagan
committed
ab27827
View commit details
Copy full SHA for ab27827
Browse repository at this point
Fix IndexFile.commit `parent_commits` annotation
Show description for b4b6e1e
EliahKagan
committed
b4b6e1e
View commit details
Copy full SHA for b4b6e1e
Browse repository at this point
Fix old Commit_ish annotations in git.remote
Show description for 5b2869f
EliahKagan
committed
5b2869f
View commit details
Copy full SHA for 5b2869f
Browse repository at this point
Commits on Mar 14, 2024
Start on fixing Submodule parent_commit annotations
Show description for 1541c62
EliahKagan
committed
1541c62
View commit details
Copy full SHA for 1541c62
Browse repository at this point
Fix other submodule.base parent_commit annotations
Show description for 1f03e7f
EliahKagan
committed
1f03e7f
View commit details
Copy full SHA for 1f03e7f
Browse repository at this point
Fix old Commit_ish annotation in RootModule
Show description for e66b8f1
EliahKagan
committed
e66b8f1
View commit details
Copy full SHA for e66b8f1
Browse repository at this point
Remove the temporary Old_commit_ish type
EliahKagan
committed
93d19dc
View commit details
Copy full SHA for 93d19dc
Browse repository at this point
Fix and deprecate Lit_commit_ish
Show description for ebcfced
EliahKagan
committed
ebcfced
View commit details
Copy full SHA for ebcfced
Browse repository at this point
Make some broad mypy suppressions more specific
Show description for b070e93
EliahKagan
committed
b070e93
View commit details
Copy full SHA for b070e93
Browse repository at this point
Merge branch 'main' into doc-types
EliahKagan
committed
0b99041
View commit details
Copy full SHA for 0b99041
Browse repository at this point
Apply Ruff auto-fixes not included in merge
EliahKagan
committed
011cb0a
View commit details
Copy full SHA for 011cb0a
Browse repository at this point
Help Ruff avoid a very long line
EliahKagan
committed
74f3c2e
View commit details
Copy full SHA for 74f3c2e
Browse repository at this point
Use LBYL for imports where EAFP is a mypy type error
Show description for 5778b7a
EliahKagan
committed
5778b7a
View commit details
Copy full SHA for 5778b7a
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL