Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix Sphinx rendering errors | Stephan Creutz | 2022-12-29 | 2 | -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.create | Ruud van Asseldonk | 2022-06-25 | 1 | -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 Thiel | 2022-05-18 | 6 | -107/+35 |
| | |||||
* | Revert "Remove flake8 linting in favor of `black` formatting" | Sebastian Thiel | 2022-05-18 | 1 | -0/+1 |
| | | | | This reverts commit a7c5d887e943aa51f2270e517954c024a8c01500. | ||||
* | Remove flake8 linting in favor of `black` formatting | Sebastian Thiel | 2022-05-18 | 1 | -1/+0 |
| | | | | `flake8` seems to dislike the formatting of black. | ||||
* | Run everything through 'black' | Sebastian Thiel | 2022-05-18 | 6 | -206/+385 |
| | | | | | That way people who use it won't be deterred, while it unifies style everywhere. | ||||
* | Fix various typos | luz paz | 2022-05-07 | 2 | -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 path | Dmitry Kalinin | 2022-03-23 | 1 | -1/+1 |
| | |||||
* | Revert "Replace wildcard imports with concrete imports" | Trym Bremnes | 2021-10-03 | 1 | -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 imports | Trym Bremnes | 2021-10-01 | 1 | -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.add | Russ Allbery | 2021-09-20 | 2 | -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 fixes | Yobmod | 2021-08-02 | 1 | -3/+4 |
| | |||||
* | Add __future__.annotations to repo/base.py | Yobmod | 2021-08-02 | 1 | -4/+8 |
| | |||||
* | replace some TBDs wiht runtime types | Yobmod | 2021-07-31 | 2 | -3/+3 |
| | |||||
* | Add final final types to symbolic.py | Yobmod | 2021-07-31 | 1 | -6/+8 |
| | |||||
* | Add final types to symbolic.py | Yobmod | 2021-07-31 | 1 | -5/+5 |
| | |||||
* | Add type to refs.log._read_from_file() | Yobmod | 2021-07-31 | 1 | -1/+1 |
| | |||||
* | Add type to refs.head.delete() | Yobmod | 2021-07-31 | 1 | -3/+2 |
| | |||||
* | Add type to symbolicreference.references() | Yobmod | 2021-07-31 | 2 | -12/+3 |
| | |||||
* | Add type to symbolicreference.reference() | Yobmod | 2021-07-31 | 2 | -3/+12 |
| | |||||
* | cleanup | Yobmod | 2021-07-31 | 1 | -1/+1 |
| | |||||
* | Add type to symbolicreference.set_object() | Yobmod | 2021-07-31 | 2 | -8/+10 |
| | |||||
* | Add type to symbolicreference.set_reference() | Yobmod | 2021-07-31 | 1 | -4/+5 |
| | |||||
* | Add type to symbolicreference.is_valid() | Yobmod | 2021-07-31 | 1 | -4/+4 |
| | |||||
* | Add type to symbolicreference.log_append() | Yobmod | 2021-07-31 | 1 | -6/+15 |
| | |||||
* | Add type to symbolicreference.delete() | Yobmod | 2021-07-31 | 1 | -5/+5 |
| | |||||
* | Add type to symbolicreference._create() | Yobmod | 2021-07-31 | 1 | -2/+4 |
| | |||||
* | Add type to symbolicreference.is_remote() | Yobmod | 2021-07-31 | 1 | -4/+5 |
| | |||||
* | Add type to symbolicreference.get_() | Yobmod | 2021-07-31 | 1 | -7/+6 |
| | |||||
* | Add type to symbolicreference() | Yobmod | 2021-07-31 | 1 | -6/+7 |
| | |||||
* | Add type to symbolicreference.dereference_recursive() | Yobmod | 2021-07-31 | 1 | -2/+2 |
| | |||||
* | Add type to symbolicreference.dereference_recursive() | Yobmod | 2021-07-31 | 1 | -1/+1 |
| | |||||
* | Add type to symbolicreference._get_packed_refs_path() | Yobmod | 2021-07-31 | 1 | -11/+11 |
| | |||||
* | Add type to symbolicreference._get_ref_info() | Yobmod | 2021-07-31 | 1 | -11/+11 |
| | |||||
* | Add type to symbolicreference.__repr__() | Yobmod | 2021-07-31 | 1 | -6/+6 |
| | |||||
* | Add type to symbolicreference.rename() | Yobmod | 2021-07-31 | 1 | -6/+7 |
| | |||||
* | Add type to symbolicreference.iter_items() | Yobmod | 2021-07-31 | 1 | -2/+2 |
| | |||||
* | Add type to symbolicreference.name() | Yobmod | 2021-07-31 | 2 | -82/+56 |
| | |||||
* | Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck | Yobmod | 2021-07-28 | 4 | -27/+41 |
| | |||||
* | Fix more missing types in Symbolic.py, cos GuthubActions pytest stuck | Yobmod | 2021-07-28 | 2 | -18/+29 |
| | |||||
* | Fix more missing types in Symbolic.py. | Yobmod | 2021-07-28 | 1 | -1/+5 |
| | |||||
* | Fix more missing types in Symbolic.py | Yobmod | 2021-07-28 | 1 | -3/+3 |
| | |||||
* | Fix more missing types in Symbolic.py | Yobmod | 2021-07-28 | 1 | -9/+13 |
| | |||||
* | Fix forwardref | Yobmod | 2021-07-28 | 1 | -1/+1 |
| | |||||
* | Fix some SymbolicReference types | Yobmod | 2021-07-28 | 2 | -42/+40 |
| | |||||
* | Fix SymbolicReference reference typing | Yobmod | 2021-07-28 | 2 | -3/+5 |
| | |||||
* | Replace all Typeguard with cast, revert update to typing-extensions==3.10.0 | Yobmod | 2021-07-24 | 2 | -2/+2 |
| | |||||
* | Rmv old py2.7 __future__ imports | Yobmod | 2021-07-19 | 1 | -1/+0 |
| | |||||
* | Change remaining type comments to py3.6+ types | Yobmod | 2021-07-19 | 1 | -1/+1 |
| | |||||
* | rmv redundant IOerror except | Yobmod | 2021-07-19 | 1 | -658/+0 |
| |