Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -15/+22 |
| | | | | | That way people who use it won't be deterred, while it unifies style everywhere. | ||||
* | replace some TBDs wiht runtime types | Yobmod | 2021-07-31 | 1 | -18/+0 |
| | |||||
* | Change remaining type comments to py3.6+ types | Yobmod | 2021-07-19 | 1 | -1/+1 |
| | |||||
* | remove comments | Sebastian Thiel | 2021-05-13 | 1 | -2/+9 |
| | |||||
* | Add types to cmd.py Git | yobmod | 2021-05-13 | 1 | -2/+2 |
| | |||||
* | flake8 fixes | yobmod | 2021-05-08 | 1 | -0/+108 |
| | |||||
* | add initial types to remote.py | yobmod | 2021-05-03 | 1 | -78/+0 |
| | |||||
* | add types to git.compat and git.diff | yobmod | 2021-03-02 | 1 | -6/+10 |
| | |||||
* | start add types to util.py | yobmod | 2021-02-28 | 1 | -7/+14 |
| | |||||
* | Remove and replace compat.text_type | Harmon | 2020-02-08 | 1 | -1/+0 |
| | |||||
* | Remove and replace compat.string_types | Harmon | 2020-02-08 | 1 | -1/+0 |
| | |||||
* | Remove and replace compat.izip | Harmon | 2020-02-08 | 1 | -3/+0 |
| | |||||
* | Remove and replace compat.MAXSIZE | Harmon | 2020-02-08 | 1 | -1/+0 |
| | |||||
* | Remove compat.PY3 | Harmon | 2020-02-08 | 1 | -1/+0 |
| | |||||
* | Remove checks for Python 2 and/or 3 | Harmon | 2020-02-08 | 1 | -4/+0 |
| | |||||
* | Remove and replace compat.UnicodeMixin | Harmon | 2020-02-08 | 1 | -14/+0 |
| | |||||
* | Remove surrogateescape error handler for Python 2 | Harmon | 2020-02-08 | 1 | -179/+0 |
| | |||||
* | Remove and replace compat.bytes_chr | Harmon | 2020-02-08 | 1 | -8/+3 |
| | |||||
* | Remove and replace compat._unichr | Harmon | 2020-02-08 | 1 | -6/+4 |
| | |||||
* | Remove and replace compat.binary_type | Harmon | 2020-02-08 | 1 | -5/+0 |
| | |||||
* | Remove Python 2 check for compat.defenc | Harmon | 2020-02-08 | 1 | -2/+0 |
| | |||||
* | Remove and replace compat.unicode | Harmon | 2020-02-08 | 1 | -5/+3 |
| | |||||
* | Remove and replace compat.xrange | Harmon | 2020-02-08 | 1 | -1/+0 |
| | |||||
* | Remove compat.range | Harmon | 2020-02-08 | 1 | -2/+0 |
| | |||||
* | Remove and replace compat.mviter | Harmon | 2020-02-08 | 1 | -6/+0 |
| | |||||
* | Remove and replace compat.bchr | Harmon | 2020-02-08 | 1 | -4/+0 |
| | |||||
* | Remove compat.byte_ord | Harmon | 2020-02-08 | 1 | -4/+0 |
| | |||||
* | Remove and replace compat.FileType | Harmon | 2020-02-08 | 1 | -6/+0 |
| | |||||
* | Remove unnecessary check for sys.getfilesystemencoding | Harmon | 2020-02-08 | 1 | -4/+1 |
| | |||||
* | removed Unnecessary “else” after “return” | Pratik Anurag | 2019-10-15 | 1 | -6/+3 |
| | |||||
* | Drop python 2 support, again (revert previous revert) | Sebastian Thiel | 2019-08-11 | 1 | -1/+4 |
| | | | | This reverts commit 913d806f02cf50250d230f88b897350581f80f6b. | ||||
* | Revert "Drop python 2.7 support and help with encodings" | Sebastian Thiel | 2019-07-29 | 1 | -4/+1 |
| | | | | This reverts commit dac619e4917b0ad43d836a534633d68a871aecca. | ||||
* | Drop python 2.7 support and help with encodings | Sebastian Thiel | 2019-07-20 | 1 | -1/+4 |
| | | | | Fixes #312 | ||||
* | Revert "This time, use test-requirements." | Sebastian Thiel | 2019-07-20 | 1 | -4/+1 |
| | | | | | | This reverts commit 74a0507f4eb468b842d1f644f0e43196cda290a1. https://travis-ci.org/gitpython-developers/GitPython/jobs/561334516#L634 | ||||
* | This time, use test-requirements. | Sebastian Thiel | 2019-07-20 | 1 | -1/+4 |
| | |||||
* | Revert "Merge branch 'PR-non-ascii-filenames' of ↵ | Sebastian Thiel | 2019-07-20 | 1 | -4/+1 |
| | | | | | | | | | | https://github.com/xarx00/GitPython into xarx00-PR-non-ascii-filenames" This reverts commit 3b13c115994461fb6bafe5dd06490aae020568c1, reversing changes made to da8aeec539da461b2961ca72049df84bf30473e1. It doesn't pass, unfortunately. Is it a travis issue? https://travis-ci.org/gitpython-developers/GitPython/jobs/561333763#L340 | ||||
* | added support for non-ascii directories and file names | xarx00 | 2019-04-05 | 1 | -1/+4 |
| | |||||
* | RF: primarily flake8 lints + minor RF to reduce duplication in PATHEXT | Yaroslav Halchenko | 2017-11-27 | 1 | -1/+1 |
| | | | | | I did keep some "bare" except with catch all Exception: , while tried to disable flake8 complaints where clearly all exceptions are to be catched | ||||
* | BF: pass original exception into replace_surrogate_encode | Yaroslav Halchenko | 2017-03-08 | 1 | -3/+3 |
| | | | | Fixes my incorrect fix in #598 | ||||
* | BF: there is no exc variable, raising NotASurrogateError if that is the ↵ | Yaroslav Halchenko | 2017-03-01 | 1 | -1/+1 |
| | | | | right thing todo | ||||
* | fix(surrogateescape): enable on py2, fix tests | Sebastian Thiel | 2016-10-16 | 1 | -1/+1 |
| | |||||
* | fix(unicode): use surrogateescape in bytes.decode | Sebastian Thiel | 2016-10-16 | 1 | -1/+191 |
| | | | | | | | | | | | | | | 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 warnings | Kostis Anagnostopoulos | 2016-10-04 | 1 | -9/+14 |
| | | | | | | | | + 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 | ||||
* | Win, #519: FIX repo TCs. | Kostis Anagnostopoulos | 2016-10-01 | 1 | -1/+12 |
| | | | | | | | | | | | | | | | + FIX TestRepo.test_submodule_update(): + submod: del `.git` file prior overwrite; Windows denied otherwise! + FIX TestRepo.test_untracked_files(): + In the `git add <file>` case, it failed with unicode args on PY2. Had to encode them with `locale.getpreferredencoding()` AND use SHELL. + cmd: add `shell` into `execute()` kwds, for overriding USE_SHELL per command. + repo: replace blocky `communicate()` in `_clone()` with thread-pumps. + test_repo.py: unittestize (almost all) assertions. + Replace open --> with open for index (base and TC). + test_index.py: Enabled a dormant assertion. | ||||
* | FIX hook TC on PY3+Win & indeterministic lock timing. | Kostis Anagnostopoulos | 2016-09-29 | 1 | -0/+10 |
| | | | | | | | | | + Cannot `index.path` into ENV, it is bytes! + The hook TC never runs on linux! + Unblock removal of odbfile in perf-large streams TC. + Attempt to unblock removal of submodule file by intensive cleaning. more unblock files | ||||
* | Win, hook, #519: Consume Hook Popen-proc out of GIL | Kostis Anagnostopoulos | 2016-09-28 | 1 | -1/+2 |
| | | | | | | | | + HookException thrown on Popen, and were missed on Windows. + No SHELL on Popen?? + Minor fixes: + Try harder to delete trees - no remorses. + Simplify exception reprs. + Unittest-ize test_index assertions. | ||||
* | Win, #519: Ensure fixtures & bashscript checked-out eol=lf | Kostis Anagnostopoulos | 2016-09-28 | 1 | -2/+2 |
| | | | | + FIX all Diff TCs. | ||||
* | src: constify is_<platform>() calls | Kostis Anagnostopoulos | 2016-09-28 | 1 | -11/+3 |
| | | | + TCs: unittest-asserts for git-tests. |