FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
Issue and test deprecation warnings by EliahKagan · Pull Request #1886 · 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
2
Discussions
Actions
Security and quality
34
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Issue and test deprecation warnings
- #1886
#1886
Merged
Byron
merged 89 commits into
gitpython-developers:main
gitpython-developers/GitPython:main
from
EliahKagan:deprecation-warnings
EliahKagan/GitPython:deprecation-warnings
Copy head branch name to clipboard
Mar 31, 2024
Conversation
Commits
89
(89)
Checks
Files changed
Merged
Issue and test deprecation warnings
#1886
Byron
merged 89 commits into
gitpython-developers:main
gitpython-developers/GitPython:main
from
EliahKagan:deprecation-warnings
EliahKagan/GitPython:deprecation-warnings
Copy head branch name to clipboard
Commits
Commits on Mar 28, 2024
Test that deprecated Diff.renamed property warns
Show description for 2382891
EliahKagan
committed
2382891
View commit details
Copy full SHA for 2382891
Browse repository at this point
Have the deprecated Diff.renamed property issue a warning
EliahKagan
committed
e7dec7d
View commit details
Copy full SHA for e7dec7d
Browse repository at this point
Fix exception in Popen.__del__ in test on Windows
Show description for a8f109c
EliahKagan
committed
a8f109c
View commit details
Copy full SHA for a8f109c
Browse repository at this point
Test that the preferred renamed_file property does not warn
EliahKagan
committed
fffa6ce
View commit details
Copy full SHA for fffa6ce
Browse repository at this point
Add a TODO for simplifying the single_diff fixture
EliahKagan
committed
bc111b7
View commit details
Copy full SHA for bc111b7
Browse repository at this point
Decompose new fixture logic better
Show description for e3728c3
EliahKagan
committed
e3728c3
View commit details
Copy full SHA for e3728c3
Browse repository at this point
Extract no-deprecation-warning asserter as a context manager
Show description for ff4b58d
EliahKagan
committed
ff4b58d
View commit details
Copy full SHA for ff4b58d
Browse repository at this point
Test that the deprecated Commit.trailers property warns
Show description for 2c52696
EliahKagan
committed
2c52696
View commit details
Copy full SHA for 2c52696
Browse repository at this point
Have the deprecated Commit.trailers property issue a warning
EliahKagan
committed
03464d9
View commit details
Copy full SHA for 03464d9
Browse repository at this point
Test that Traversable.{list_,}traverse, but not overrides, warn
EliahKagan
committed
9d096e0
View commit details
Copy full SHA for 9d096e0
Browse repository at this point
Use the :exc: Sphinx role for DeprecationWarning
Show description for 21c2b72
EliahKagan
committed
21c2b72
View commit details
Copy full SHA for 21c2b72
Browse repository at this point
Test that subclassing deprecated git.util.Iterable warns
Show description for ca385a5
EliahKagan
committed
ca385a5
View commit details
Copy full SHA for ca385a5
Browse repository at this point
Call repo.close() instead of manually collecting
Show description for 8bbcb26
EliahKagan
committed
8bbcb26
View commit details
Copy full SHA for 8bbcb26
Browse repository at this point
Better name and document the basic deprecation test module
Show description for b8ce990
EliahKagan
committed
b8ce990
View commit details
Copy full SHA for b8ce990
Browse repository at this point
Commits on Mar 29, 2024
Annotate basic deprecation tests; have mypy scan it
Show description for 61273aa
EliahKagan
committed
61273aa
View commit details
Copy full SHA for 61273aa
Browse repository at this point
Start on top-level module attribute access regression tests
EliahKagan
committed
b7a3d8c
View commit details
Copy full SHA for b7a3d8c
Browse repository at this point
Test attribute access and importing separately
Show description for 105f500
EliahKagan
committed
105f500
View commit details
Copy full SHA for 105f500
Browse repository at this point
Expand to test top-level deprecated names
EliahKagan
committed
859e38c
View commit details
Copy full SHA for 859e38c
Browse repository at this point
Hoist `import git` to module level in test module
Show description for 46a739d
EliahKagan
committed
46a739d
View commit details
Copy full SHA for 46a739d
Browse repository at this point
Test static typing of private module aliases
Show description for a2df3a8
EliahKagan
committed
a2df3a8
View commit details
Copy full SHA for a2df3a8
Browse repository at this point
Improve a couple test case docstrings
EliahKagan
committed
a15a830
View commit details
Copy full SHA for a15a830
Browse repository at this point
Add a couple missing assert keywords
EliahKagan
committed
dbaa535
View commit details
Copy full SHA for dbaa535
Browse repository at this point
Clarify how test_private_module_aliases is statically checkable
EliahKagan
committed
d00c843
View commit details
Copy full SHA for d00c843
Browse repository at this point
Move mark-sharing tests into a class
EliahKagan
committed
983fda7
View commit details
Copy full SHA for 983fda7
Browse repository at this point
Add FIXME for what to do next
EliahKagan
committed
19acd4c
View commit details
Copy full SHA for 19acd4c
Browse repository at this point
Fix a test docstring
EliahKagan
committed
f39bbb5
View commit details
Copy full SHA for f39bbb5
Browse repository at this point
Test resolution into git.index.util using git.util
EliahKagan
committed
aee7078
View commit details
Copy full SHA for aee7078
Browse repository at this point
Fix brittle way of checking warning messages
Show description for 7f4a191
EliahKagan
committed
7f4a191
View commit details
Copy full SHA for 7f4a191
Browse repository at this point
Clarify todo
EliahKagan
committed
d08a576
View commit details
Copy full SHA for d08a576
Browse repository at this point
Start reorganizing new tests more in the GitPython style
EliahKagan
committed
9d58e6d
View commit details
Copy full SHA for 9d58e6d
Browse repository at this point
Finish reorganizing; fix assertion for duplicated messages
Show description for 45c128b
EliahKagan
committed
45c128b
View commit details
Copy full SHA for 45c128b
Browse repository at this point
Add imports so pyright recognizes refs and index
Show description for 247dc15
EliahKagan
committed
247dc15
View commit details
Copy full SHA for 247dc15
Browse repository at this point
Expand and clarify test module docstring
Show description for b05963c
EliahKagan
committed
b05963c
View commit details
Copy full SHA for b05963c
Browse repository at this point
Tiny import tweak
EliahKagan
committed
074bbc7
View commit details
Copy full SHA for 074bbc7
Browse repository at this point
Pick a better name for _MODULE_ALIAS_TARGETS
Show description for 18608e4
EliahKagan
committed
18608e4
View commit details
Copy full SHA for 18608e4
Browse repository at this point
Use typing_extensions only if needed
Show description for 1f290f1
EliahKagan
committed
1f290f1
View commit details
Copy full SHA for 1f290f1
Browse repository at this point
Fix zip calls
Show description for 7a4f7eb
EliahKagan
committed
7a4f7eb
View commit details
Copy full SHA for 7a4f7eb
Browse repository at this point
Fix (and improve wording) of docstrings
EliahKagan
committed
5977a6e
View commit details
Copy full SHA for 5977a6e
Browse repository at this point
Remove extra import "from typing_extensions"
EliahKagan
committed
5b1fa58
View commit details
Copy full SHA for 5b1fa58
Browse repository at this point
Start on test_compat
Show description for a07be0e
EliahKagan
committed
a07be0e
View commit details
Copy full SHA for a07be0e
Browse repository at this point
Expand to test all three is_<platform> aliases
EliahKagan
committed
d4917d0
View commit details
Copy full SHA for d4917d0
Browse repository at this point
Slightly improve docstrings
EliahKagan
committed
f4e5f42
View commit details
Copy full SHA for f4e5f42
Browse repository at this point
Add test of dir() on git.compat
EliahKagan
committed
d54f851
View commit details
Copy full SHA for d54f851
Browse repository at this point
Add static type assertions to is_platform test
EliahKagan
committed
aaf046a
View commit details
Copy full SHA for aaf046a
Browse repository at this point
Refactor test_compat.test_dir for clarity
EliahKagan
committed
84d734d
View commit details
Copy full SHA for 84d734d
Browse repository at this point
Add top-level dir() tests
EliahKagan
committed
3a621b3
View commit details
Copy full SHA for 3a621b3
Browse repository at this point
Remove old comment meant as todo (that was done)
EliahKagan
committed
05e0878
View commit details
Copy full SHA for 05e0878
Browse repository at this point
Test that top-level aliases point to modules with normal __name__
EliahKagan
committed
3fe2f15
View commit details
Copy full SHA for 3fe2f15
Browse repository at this point
Use names directly on other tests
Show description for 246cc17
EliahKagan
committed
246cc17
View commit details
Copy full SHA for 246cc17
Browse repository at this point
Fix a small docstring typo
EliahKagan
committed
d7b6b31
View commit details
Copy full SHA for d7b6b31
Browse repository at this point
Improve description in test module docstrings
EliahKagan
committed
96089c8
View commit details
Copy full SHA for 96089c8
Browse repository at this point
Start on test_types
EliahKagan
committed
a0ef537
View commit details
Copy full SHA for a0ef537
Browse repository at this point
Explain substring assertions in test_toplevel
EliahKagan
committed
52e7360
View commit details
Copy full SHA for 52e7360
Browse repository at this point
Expand Lit_commit_ish test name and write docstring
EliahKagan
committed
e3675a0
View commit details
Copy full SHA for e3675a0
Browse repository at this point
Clarify test_compat.test_dir
EliahKagan
committed
4857ff0
View commit details
Copy full SHA for 4857ff0
Browse repository at this point
Add test of dir() on git.types
EliahKagan
committed
488cc13
View commit details
Copy full SHA for 488cc13
Browse repository at this point
Clarify comment about is_<platform> value assertions
EliahKagan
committed
19b3c08
View commit details
Copy full SHA for 19b3c08
Browse repository at this point
Issue warnings for some deprecated attributes of modules
EliahKagan
committed
28bd4a3
View commit details
Copy full SHA for 28bd4a3
Browse repository at this point
Refine deprecated module attributes and their warnings
Show description for dffa930
EliahKagan
committed
dffa930
View commit details
Copy full SHA for dffa930
Browse repository at this point
Start on test module about Git.USE_SHELL and Git attributes
EliahKagan
committed
7ab27c5
View commit details
Copy full SHA for 7ab27c5
Browse repository at this point
Make test_use_shell_on_class more robust
EliahKagan
committed
af723d5
View commit details
Copy full SHA for af723d5
Browse repository at this point
Write most remaining Git attribute/deprecation tests
EliahKagan
committed
bf13888
View commit details
Copy full SHA for bf13888
Browse repository at this point
Begin multiprocessing misadventure
Show description for 602de0c
EliahKagan
committed
602de0c
View commit details
Copy full SHA for 602de0c
Browse repository at this point
Somewhat clarify multiprocessing misadventure
EliahKagan
committed
d4b50c9
View commit details
Copy full SHA for d4b50c9
Browse repository at this point
Discuss multiprocessing in test module docstring; remove bad test
EliahKagan
committed
02c2f00
View commit details
Copy full SHA for 02c2f00
Browse repository at this point
Discuss metaclass conflicts in test module docstring
EliahKagan
committed
46df79f
View commit details
Copy full SHA for 46df79f
Browse repository at this point
Revise test module docstring for clarity
EliahKagan
committed
40ed842
View commit details
Copy full SHA for 40ed842
Browse repository at this point
Test that USE_SHELL is unittest.mock.patch patchable
EliahKagan
committed
6a35261
View commit details
Copy full SHA for 6a35261
Browse repository at this point
Make the restore_use_shell_state fixture more robust
EliahKagan
committed
e725c82
View commit details
Copy full SHA for e725c82
Browse repository at this point
Add `type: ignore` in test that we can't set USE_SHELL on instances
Show description for 436bcaa
EliahKagan
committed
436bcaa
View commit details
Copy full SHA for 436bcaa
Browse repository at this point
Clarify unittest.mock.patch patchability test docstring
EliahKagan
committed
febda6f
View commit details
Copy full SHA for febda6f
Browse repository at this point
Test that Git.execute's own read of USE_SHELL does not warn
Show description for 4037108
EliahKagan
committed
4037108
View commit details
Copy full SHA for 4037108
Browse repository at this point
Suppress type errors in restore_use_shell_state _USE_SHELL branches
Show description for 0e311bf
EliahKagan
committed
0e311bf
View commit details
Copy full SHA for 0e311bf
Browse repository at this point
Fix wrong/unclear grammar in test_instance_dir docstring
EliahKagan
committed
df4c5c0
View commit details
Copy full SHA for df4c5c0
Browse repository at this point
Issue warnings whenever Git.USE_SHELL is accessed
Show description for d38e721
EliahKagan
committed
d38e721
View commit details
Copy full SHA for d38e721
Browse repository at this point
Implement instance USE_SHELL lookup in __getattr__
Show description for 05de5c0
EliahKagan
committed
05de5c0
View commit details
Copy full SHA for 05de5c0
Browse repository at this point
Have USE_SHELL warn but work like normal via super()
Show description for 04eb09c
EliahKagan
committed
04eb09c
View commit details
Copy full SHA for 04eb09c
Browse repository at this point
Keep mypy from thinking Git has arbitrary class attributes
Show description for c6f518b
EliahKagan
committed
c6f518b
View commit details
Copy full SHA for c6f518b
Browse repository at this point
Clarify that the private name mangling is intentional
EliahKagan
committed
c5d5b16
View commit details
Copy full SHA for c5d5b16
Browse repository at this point
Read USE_SHELL in Git.execute without DeprecationWarning
Show description for 84bf2ca
EliahKagan
committed
84bf2ca
View commit details
Copy full SHA for 84bf2ca
Browse repository at this point
Add GitPython project top comments to new test modules
EliahKagan
committed
5bef7ed
View commit details
Copy full SHA for 5bef7ed
Browse repository at this point
Hide `del util` from type checkers
Show description for 3da47c2
EliahKagan
committed
3da47c2
View commit details
Copy full SHA for 3da47c2
Browse repository at this point
Expand USE_SHELL docstring; clarify a test usage
Show description for bdabb21
EliahKagan
committed
bdabb21
View commit details
Copy full SHA for bdabb21
Browse repository at this point
Explain the approach in test.deprecation to static checking
Show description for b51b080
EliahKagan
committed
b51b080
View commit details
Copy full SHA for b51b080
Browse repository at this point
Commits on Mar 30, 2024
Make test.performance.lib docstring more specific
Show description for 7cd3aa9
EliahKagan
committed
7cd3aa9
View commit details
Copy full SHA for 7cd3aa9
Browse repository at this point
Make/use test.deprecation.lib; abandon idea to filter by module
Show description for cf2576e
EliahKagan
committed
cf2576e
View commit details
Copy full SHA for cf2576e
Browse repository at this point
Commits on Mar 31, 2024
Clarify security risk in USE_SHELL doc and warnings
EliahKagan
committed
f92f4c3
View commit details
Copy full SHA for f92f4c3
Browse repository at this point
Test GitMeta alias
EliahKagan
committed
8327b45
View commit details
Copy full SHA for 8327b45
Browse repository at this point
Add GitMeta alias
Show description for f6060df
EliahKagan
committed
f6060df
View commit details
Copy full SHA for f6060df
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL