summaryrefslogtreecommitdiff
path: root/git/objects/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix timezone parsing functions for non-hour timezonesJames Cowgill2023-01-241-16/+19
| | | | | | | | The `utctz_to_altz` and `altz_to_utctz_str` functions fail to handle timezones with UTC offsets that are not a multiple of one hour. Rewrite them and add some unit tests. Fixes #630
* Fix Sphinx rendering errorsStephan Creutz2022-12-291-0/+1
| | | | | | | | 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.
* can flake be tamed?black-fmtSebastian Thiel2022-05-181-0/+2
|
* reformat according to 'black' configuration file.Sebastian Thiel2022-05-181-58/+18
|
* Run everything through 'black'Sebastian Thiel2022-05-181-132/+230
| | | | | That way people who use it won't be deterred, while it unifies style everywhere.
* Fix various typosluz paz2022-05-071-2/+2
| | | Found via `codespell -q 3 -S ./git/ext/gitdb,./test/fixtures/reflog_master,./test/fixtures/diff_mode_only,./test/fixtures/reflog_HEAD`
* upgrade sphinx for 3.10 compatYobmod2021-08-091-4/+5
|
* try fix for Protocol buy in 3.10 3Yobmod2021-08-091-2/+2
|
* try fix for Protocol buy in 3.10 2Yobmod2021-08-091-1/+1
|
* try fix for Protocol buy in 3.10Yobmod2021-08-091-2/+8
|
* Add __future__.annotations to repo/base.pyYobmod2021-08-021-3/+1
|
* Fix parse_date typing 7Yobmod2021-08-021-1/+3
|
* Fix parse_date typing 6Yobmod2021-08-021-1/+1
|
* Fix parse_date typing 5Yobmod2021-08-021-2/+7
|
* Fix parse_date typing 4Yobmod2021-08-021-12/+7
|
* Fix parse_date typing 3Yobmod2021-08-021-6/+4
|
* Fix parse_date typing 2Yobmod2021-08-021-1/+3
|
* Fix parse_date typingYobmod2021-08-021-3/+5
|
* increase mypy strictness (warn unused ignored and warn unreachable)Yobmod2021-08-021-3/+5
|
* increase mypy strictness (warn unused ignored)Yobmod2021-08-021-1/+1
|
* Add final types to submodule.pyYobmod2021-07-311-6/+6
|
* Fix more missing types in Symbolic.py, cos GuthubActions pytest stuckYobmod2021-07-281-0/+5
|
* Change remaining type comments to py3.6+ typesYobmod2021-07-191-3/+3
|
* Make traversable and serilizable into protocolsYobmod2021-07-191-24/+54
|
* Move TraverseNT to global, cos mypy complained on testingYobmod2021-07-091-4/+6
|
* Flatten list_traverse()Yobmod2021-07-091-0/+1
|
* Rmv circular import, create Has_id_attribute Protocol insteadYobmod2021-07-091-4/+2
|
* Add list_traverse() to Tree and TraversableIterableObj.Yobmod2021-07-091-1/+6
|
* Change type of list_traverse() again.Yobmod2021-07-091-6/+17
|
* Rmv typeguard from list_traverse(), was wrongYobmod2021-07-091-17/+13
|
* improve TraversableIterableObj typeguardYobmod2021-07-091-4/+6
|
* tests TraversableIterableObj typeguardYobmod2021-07-091-5/+5
|
* Add missed types to Commit, uncomment to_native_path_linux()Yobmod2021-07-011-8/+8
|
* Fix forward refYobmod2021-06-301-1/+1
|
* Type Traversable/list_traverse() better, make IterablleObj a protocolYobmod2021-06-301-14/+10
|
* Type Tree.traverse() betterYobmod2021-06-301-2/+4
|
* Type Traversable.traverse() better, start types of submoduleYobmod2021-06-301-25/+132
|
* another typoDominic2021-06-251-1/+1
|
* fix typoDominic2021-06-251-1/+1
|
* flake8 fixDominic2021-06-251-1/+1
|
* Import typevar in util.pyDominic2021-06-251-1/+3
|
* fix indentYobmod2021-06-241-22/+0
|
* Make IterableList generic and update throughoutYobmod2021-06-241-5/+6
|
* Update typing-extensions version in requirements.txtYobmod2021-06-231-38/+91
|
* accept datetime instances as datesAlba Mendez2020-08-311-0/+5
| | | | | | There's no easy way to re-create a commit (i.e. for rewriting purposes), because dates must be formatted as strings, passed, then parsed back. This patch allows parse_date() to accept datetime instances, such as those produced by from_timestamp() above.
* Fix exception causes all over the codebaseRam Rachum2020-06-141-2/+2
|
* Added parsing for '@1400000000 +0000' date format as used by git commit hooks.Dries2019-12-291-0/+2
|
* Fix pickling of tzoffsetUwe L. Korn2019-10-191-0/+3
| | | | Fixes #650
* Avoid from_timestamp() function to raise an exception when the offset is ↵ishepard2018-04-041-2/+5
| | | | | | greater or lower than 24 hours. Add tests that exercise the new behaviour
* Rewrite unnecessary dict/list/tuple calls as literalsHugo2018-03-181-3/+3
|