Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Add types to refs/head.py | Yobmod | 2021-07-19 | 1 | -15/+22 |
| | |||||
* | Add types to refs/log.py | Yobmod | 2021-07-19 | 1 | -54/+86 |
| | |||||
* | Add types to refs/reference.py | Yobmod | 2021-07-19 | 1 | -12/+25 |
| | |||||
* | Add types to refs/remote.py | Yobmod | 2021-07-19 | 1 | -9/+22 |
| | |||||
* | Add types to refs/symbolic.py | Yobmod | 2021-07-19 | 1 | -0/+674 |
| | |||||
* | Add types to refs/tag.py | Yobmod | 2021-07-19 | 1 | -10/+36 |
| | |||||
* | Make bytesIO forwardref | Yobmod | 2021-07-05 | 1 | -3/+8 |
| | |||||
* | Improve typing of config_levels, add assert_never() | Yobmod | 2021-07-05 | 1 | -1/+2 |
| |