summaryrefslogtreecommitdiff
path: root/git/objects/util.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix some typosSantiago Castro2016-10-201-4/+4
|
* Add support for getting "aware" datetime infoVincent Driessen2016-04-191-1/+29
| | | | | | | | | | | | | | | | This adds 2 properties to commits. Their values are derived from the existing data stored on them, but this makes them more conveniently queryable: - authored_datetime - committed_datetime These return "aware" datetimes, so they are effectively companions to their raw timestamp equivalents, respectively `authored_date` and `committed_date`. These datetime instances are convenient structures since they show the author-local commit date and their UTC offset.
* fix(commit): serialization timezone handlingSebastian Thiel2015-08-171-1/+1
| | | | | | | | | Previously timezones which were not divisable by 3600s would be parsed correctly, but would serialize into a full hour, rounded up. Now floating point computation is used which fixes the issue. Related to #336
* Fix typoKyle P. Johnson2015-03-271-1/+1
|
* Intermediate commit: test_config and test_actor worksSebastian Thiel2015-01-051-8/+8
| | | | | Kind of tackling the tasks step by step, picking low-hanging fruit first, or the ones that everyone depends on
* Bumped version, updated changelog, reduced code smellSebastian Thiel2015-01-041-5/+4
| | | | | There is more work to do though, as many imports are still incorrect. Also, there are still print statements
* Applied autopep8Sebastian Thiel2015-01-041-2/+2
| | | | autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
* Simplified parse_date implementationSebastian Thiel2014-12-191-7/+7
| | | | | This allows to deal with the previous UTC issue without manually reversing timezone adjustments
* BF: adjust mktime output for the local offset (Close #218)Yaroslav Halchenko2014-12-181-1/+4
|
* Applied autopep8Sebastian Thiel2014-11-191-10/+10
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* pep8 linting (trailing whitespace)Antoine Musso2014-11-161-17/+17
| | | | W291 trailing whitespace
* pep8 linting (whitespace before/after)Antoine Musso2014-11-161-19/+19
| | | | | | | | | | | | | E201 whitespace after '(' E202 whitespace before ')' E203 whitespace before ':' E225 missing whitespace around operator E226 missing whitespace around arithmetic operator E227 missing whitespace around bitwise or shift operator E228 missing whitespace around modulo operator E231 missing whitespace after ',' E241 multiple spaces after ',' E251 unexpected spaces around keyword / parameter equals