summaryrefslogtreecommitdiff
path: root/git/objects/fun.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix Sphinx rendering errorsStephan Creutz2022-12-291-0/+2
| | | | | | | | 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.
* reformat according to 'black' configuration file.Sebastian Thiel2022-05-181-9/+3
|
* Run everything through 'black'Sebastian Thiel2022-05-181-27/+48
| | | | | That way people who use it won't be deterred, while it unifies style everywhere.
* increase mypy strictness (warn unused ignored and warn unreachable)Yobmod2021-08-021-1/+1
|
* Make types in refs compatible with objectsYobmod2021-07-191-1/+1
|
* Use TreeCacheTup type alias throughoutYobmod2021-07-091-1/+1
|
* Change List to MutableSequence in fun.py _find_by_name()Yobmod2021-07-081-7/+7
|
* fix base,ours,theirs typingYobmod2021-07-081-4/+4
|
* Use Tuple not tupleYobmod2021-07-081-2/+3
|
* Fix traverse_trees_recursive() againYobmod2021-07-081-3/+3
|
* Fix traverse_trees_recursive()Yobmod2021-07-081-4/+4
|
* MmmmmYobmod2021-07-081-10/+8
|
* Mak EntryTup a froward refYobmod2021-07-081-1/+1
|
* Mak GitCmdObjectDB a froward refYobmod2021-07-081-3/+3
|
* Finish initial typing of index folderYobmod2021-07-081-21/+47
|
* Add types to tree.TreeYobmod2021-06-241-3/+12
|
* Remove and replace compat.text_typeHarmon2020-02-081-3/+2
|
* Remove and replace compat.xrangeHarmon2020-02-081-2/+1
|
* Remove and replace compat.bchrHarmon2020-02-081-3/+2
|
* Remove compat.byte_ordHarmon2020-02-081-5/+4
|
* removed trailing whitespacesPratik Anurag2019-10-151-1/+1
|
* changed unused variables assingmentPratik Anurag2019-10-151-1/+1
|
* Rewrite unnecessary dict/list/tuple calls as literalsHugo2018-03-181-5/+5
|
* fix(surrogateescape): enable on py2, fix testsSebastian Thiel2016-10-161-1/+2
|
* fix(unicode): use surrogateescape in bytes.decodeSebastian Thiel2016-10-161-5/+1
| | | | | | | | | | | | | | That way, we will try to decode as default encoding (usually utf-8), but allow ourselves to simply keep bytes that don't match within the resulting unicode string. That way, we allow for lossless decode/encode cycles while still assuring that decoding never fails. NOTE: I was too lazy to create a test that would verify it, but manually executed https://github.com/petertodd/gitpython-unicode-error. fixes #532
* src: No PyDev warningsKostis Anagnostopoulos2016-10-041-2/+2
| | | | | | | | + Mark all unused vars and other non-pep8 (PyDev) warnings + test_utils: + enable & fix forgotten IterableList looped path. + unittestize all assertions. + remote: minor fix progress dispatching unknown err-lines
* Make flake8 happySebastian Thiel2015-01-061-0/+1
|
* test_fun worksSebastian Thiel2015-01-051-2/+3
|
* test_commit works once againSebastian Thiel2015-01-051-2/+1
|
* Fixes test_blob and improved commit writing/readingSebastian Thiel2015-01-051-13/+13
|
* Dum brute force conversion of all types.Sebastian Thiel2015-01-041-1/+5
| | | | | | However, StringIO really is ByteIO in most cases, and py2.7 should run but doesn't. This should be made work first.
* Applied autopep8Sebastian Thiel2014-11-191-2/+3
| | | | | Commandline was autopep8 -j 8 --max-line-length 120 --in-place --recursive --exclude "*gitdb*,*async*" git/
* pep8 linting (trailing whitespace)Antoine Musso2014-11-161-9/+9
| | | | W291 trailing whitespace
* pep8 linting (whitespace before/after)Antoine Musso2014-11-161-8/+8
| | | | | | | | | | | | | 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
* pep8 linting (blank lines expectations)Antoine Musso2014-11-161-3/+3
| | | | | | E301 expected 1 blank line, found 0 E302 expected 2 blank lines, found 1 E303 too many blank lines (n)
* pep8 linting (whitespaces)Antoine Musso2014-11-161-22/+22
| | | | | | | | | | | W191 indentation contains tabs E221 multiple spaces before operator E222 multiple spaces after operator E225 missing whitespace around operator E271 multiple spaces after keyword W292 no newline at end of file W293 blank line contains whitespace W391 blank line at end of file
* Merge branch 'sf-master' of https://github.com/johnsca/GitPython into ↵Sebastian Thiel2014-11-151-3/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | johnsca-sf-master Conflicts: git/cmd.py git/objects/commit.py git/objects/fun.py git/objects/util.py git/remote.py git/repo/base.py git/test/lib/helper.py git/test/test_commit.py git/test/test_fun.py git/util.py
| * Fix whacky indentationTim Van Steenburgh2013-04-171-7/+7
| | | | | | | | Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
| * Return bytes if object name can't be utf8-decodedTim Van Steenburgh2013-04-171-3/+7
| | | | | | | | Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
* | tabs to 4 spaces - this won't make integrating the patches easier, but it's ↵Sebastian Thiel2014-02-091-182/+182
|/ | | | probably a good idea to go a little more pep8 (and fix sins of my youth ;) )
* Moved everything into the git subdirectory - some tests still need to be ↵Sebastian Thiel2010-11-251-0/+199
adjusted