summaryrefslogtreecommitdiff
path: root/git/refs
Commit message (Collapse)AuthorAgeFilesLines
* Fix Sphinx rendering errorsStephan Creutz2022-12-292-1/+4
| | | | | | | | These errors are mostly fixed by either adding blank lines or single spaces for Sphinx documentation key words. The commit solely includes documentation changes, no functional changes.
* Fix bug in TagReference.createRuud van Asseldonk2022-06-251-2/+4
| | | | | | When passing the "message" kwarg, this would add a -m command-line flag without removing --message, and the message would be duplicated. Avoid that by deleting "message" from the command line.
* reformat according to 'black' configuration file.Sebastian Thiel2022-05-186-107/+35
|
* Revert "Remove flake8 linting in favor of `black` formatting"Sebastian Thiel2022-05-181-0/+1
| | | | This reverts commit a7c5d887e943aa51f2270e517954c024a8c01500.
* Remove flake8 linting in favor of `black` formattingSebastian Thiel2022-05-181-1/+0
| | | | `flake8` seems to dislike the formatting of black.
* Run everything through 'black'Sebastian Thiel2022-05-186-206/+385
| | | | | That way people who use it won't be deterred, while it unifies style everywhere.
* Fix various typosluz paz2022-05-072-3/+3
| | | Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD`
* Fixed setting ref with non-ascii in pathDmitry Kalinin2022-03-231-1/+1
|
* Revert "Replace wildcard imports with concrete imports"Trym Bremnes2021-10-031-6/+6
| | | | | | | | | | | This reverts commit 53d94b8091b36847bb9e495c76bb5a3ec2a2fdb5. The reason for the revert is that the commit in question introduced a regression where certain modules, functions and classes that were exposed before were no longer exposed. See https://github.com/gitpython-developers/GitPython/pull/1352#issuecomment-932757204 for additional information.
* Replace wildcard imports with concrete importsTrym Bremnes2021-10-011-6/+6
| | | | | | | All `from <module> import *` has now been replaced by `from <module> import X, Y, ...`. Contributes to #1349
* Fix typing issues with delete_head and Remote.addRuss Allbery2021-09-202-2/+7
| | | | | | | | | | | | | | delete_head and Head.delete historically accept either Head objects or a str name of a head. Adjust the typing to match. This unfortunately requires suppressing type warnings in the signature of RemoteReference.delete, since it inherits from Head but does not accept str (since it needs access to the richer data of RemoteReference). Using assignment to make add an alias for create unfortunately confuses mypy, since it loses track of the fact that it's a classmethod and starts treating it like a staticmethod. Replace with a stub wrapper instead.
* Minor type fixesYobmod2021-08-021-3/+4
|
* Add __future__.annotations to repo/base.pyYobmod2021-08-021-4/+8
|
* replace some TBDs wiht runtime typesYobmod2021-07-312-3/+3
|
* Add final final types to symbolic.pyYobmod2021-07-311-6/+8
|
* Add final types to symbolic.pyYobmod2021-07-311-5/+5
|
* Add type to refs.log._read_from_file()Yobmod2021-07-311-1/+1
|
* Add type to refs.head.delete()Yobmod2021-07-311-3/+2
|
* Add type to symbolicreference.references()Yobmod2021-07-312-12/+3
|
* Add type to symbolicreference.reference()Yobmod2021-07-312-3/+12
|
* cleanupYobmod2021-07-311-1/+1
|
* Add type to symbolicreference.set_object()Yobmod2021-07-312-8/+10
|
* Add type to symbolicreference.set_reference()Yobmod2021-07-311-4/+5
|
* Add type to symbolicreference.is_valid()Yobmod2021-07-311-4/+4
|
* Add type to symbolicreference.log_append()Yobmod2021-07-311-6/+15
|
* Add type to symbolicreference.delete()Yobmod2021-07-311-5/+5
|
* Add type to symbolicreference._create()Yobmod2021-07-311-2/+4
|
* Add type to symbolicreference.is_remote()Yobmod2021-07-311-4/+5
|
* Add type to symbolicreference.get_()Yobmod2021-07-311-7/+6
|
* Add type to symbolicreference()Yobmod2021-07-311-6/+7
|
* Add type to symbolicreference.dereference_recursive()Yobmod2021-07-311-2/+2
|
* Add type to symbolicreference.dereference_recursive()Yobmod2021-07-311-1/+1
|
* Add type to symbolicreference._get_packed_refs_path()Yobmod2021-07-311-11/+11
|
* Add type to symbolicreference._get_ref_info()Yobmod2021-07-311-11/+11
|
* Add type to symbolicreference.__repr__()Yobmod2021-07-311-6/+6
|
* Add type to symbolicreference.rename()Yobmod2021-07-311-6/+7
|
* Add type to symbolicreference.iter_items()Yobmod2021-07-311-2/+2
|
* Add type to symbolicreference.name()Yobmod2021-07-312-82/+56
|
* Fix more missing types in Symbolic.py, cos GuthubActions pytest stuckYobmod2021-07-284-27/+41
|
* Fix more missing types in Symbolic.py, cos GuthubActions pytest stuckYobmod2021-07-282-18/+29
|
* Fix more missing types in Symbolic.py.Yobmod2021-07-281-1/+5
|
* Fix more missing types in Symbolic.pyYobmod2021-07-281-3/+3
|
* Fix more missing types in Symbolic.pyYobmod2021-07-281-9/+13
|
* Fix forwardrefYobmod2021-07-281-1/+1
|
* Fix some SymbolicReference typesYobmod2021-07-282-42/+40
|
* Fix SymbolicReference reference typingYobmod2021-07-282-3/+5
|
* Replace all Typeguard with cast, revert update to typing-extensions==3.10.0Yobmod2021-07-242-2/+2
|
* Rmv old py2.7 __future__ importsYobmod2021-07-191-1/+0
|
* Change remaining type comments to py3.6+ typesYobmod2021-07-191-1/+1
|
* rmv redundant IOerror exceptYobmod2021-07-191-658/+0
|