summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | change a type (Commit) to a forward refyobmod2021-05-031-1/+1
| | |
* | | Merge branch 'addtypes' of https://github.com/Yobmod/GitPython into addtypesyobmod2021-05-032-3/+8
|\ \ \
| * \ \ Merge branch 'main' into addtypesDominic2021-05-032-3/+8
| |\ \ \
| | * \ \ Merge pull request #1218 from mgorny/typing-extSebastian Thiel2021-04-247-6/+18
| | |\ \ \ | | | | | | | | | | | | Use typing-extensions only on Python < 3.8
| | | * | | Fix flake8Sebastian Thiel2021-04-241-2/+2
| | | | | |
| | | * | | Use typing-extensions only on Python < 3.8Michał Górny2021-04-237-6/+18
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | All necessary attributes are available in the built-in typing module since Python 3.8. Use typing-extensions only for older versions of Python, and avoid the unnecessary dep in 3.8+.
| | * | | Merge pull request #1226 from muggenhor/testingSebastian Thiel2021-04-2311-13/+60
| | |\ \ \ | | | | | | | | | | | | ci: check types with mypy
| | | * | | ci: check types with mypyGiel van Schijndel2021-04-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will result in _partial_ type checking of the type annotations by using mypy. Keep in mind though that mypy is performing _static_ analysis in a _dynamic_ language so it can only partially check for correctness. Some other tool(s) will be needed to have more complete type checking at runtime. E.g. [typeguard]. [typeguard]: https://pypi.org/project/typeguard/
| | | * | | improvement(mypy): ignore false positivesGiel van Schijndel2021-04-233-4/+4
| | | | | |
| | | * | | improvement: teach mypy how to deal with wildcard-imported objectsGiel van Schijndel2021-04-232-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By telling it where it's imported from in one case and telling it to ignore it in another.
| | | * | | improvement: teach mypy that Object.type is not always supposed to be NoneGiel van Schijndel2021-04-231-1/+2
| | | | | |
| | | * | | fix(mypy): properly describe link between parameter and return typesGiel van Schijndel2021-04-231-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives mypy all information that it needs to determine what the return type of a function call is *iff* it knows the argument's type. As a result it can now stop complaining about passing None to str.join() in exc.py.
| | | * | | test(mypy): don't complain about missing type hints for 'gitdb'Giel van Schijndel2021-04-231-0/+4
| | | | | |
| | | * | | test(mypy): don't give errors for every unannotated functionGiel van Schijndel2021-04-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Because there's too many to fix quickly.
| | | * | | test(tox): verify type annotationsGiel van Schijndel2021-04-231-0/+8
| | | | | |
| | | * | | test: sort MANIFEST.in and add missing test-requirements.txtGiel van Schijndel2021-04-231-3/+4
| | |/ / / | | | | | | | | | | | | | | | Without the presence of 'test-requirements.txt' 'tox' is unusable.
| | * | | fix(types): get the os.PathLike type as correctly as possibleGiel van Schijndel2021-04-231-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | This should make our internal PathLike type compatible with Python < 3.6 and < 3.9.
| | * | | Ask contributors to keep commits small (even though PRs can be big)Sebastian Thiel2021-04-231-1/+2
| | | | | | | | | | | | | | | Related to #1223
| | * | | fix flakeSebastian Thiel2021-04-231-1/+3
| | | | |
| | * | | test(clone): verify stderr for a failing clone into a non-empty dirGiel van Schijndel2021-04-231-0/+30
| | | | | | | | | | | | | | | | | | | | Addresses #1221, #1223
| | * | | Fix missing stderr when the progress parameter of _clone is NoneJingyang Liang2021-04-231-5/+3
| | | | |
| | * | | Revert compiling GitCommand shell messagesjmcgill2982021-04-222-5/+7
| | | | |
| | * | | Update remote.pySpring Burst2021-04-211-1/+0
| | | | | | | | | | | | | | | Format code
| | * | | Remove windows special handlingSpring Burst2021-04-211-10/+1
| | | | | | | | | | | | | | | Remove windows special handling when create Remote
| | * | | Fix publishing branchesSebastian Thiel2021-04-211-2/+2
| | | | |
| | * | | bump patch level3.1.15Sebastian Thiel2021-04-212-3/+9
| | | | |
| | * | | Set daemon attribute instead of using setDaemon method that was deprecated ↵Karthikeyan Singaravelan2021-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | in Python 3.10
| | * | | Restore CI operation Sebastian Thiel2021-04-171-3/+3
| | | | | | | | | | | | | | | Renaming is easier, but GitHub seems to miss CI which is quite a foot/head gun
| | * | | refactor; add failing test to validate #1210Sebastian Thiel2021-04-144-53/+61
| | | | |
| | * | | Create FUNDING.ymlSebastian Thiel2021-03-281-0/+1
| | | |/ | | |/| | | | | Allow people to say thanks.
| | * | Merge pull request #1198 from RyaxTech/replace-password-in-uri-by-starsSebastian Thiel2021-03-195-14/+81
| | |\ \ | | | | | | | | | | Replace password in URI by stars if present to avoid leaking secrets in logs
| | | * | Use continue instead of raising errorMichael Mercier2021-03-181-2/+2
| | | | |
| | | * | Use copy and not inplace remove password + working case testMichael Mercier2021-03-164-13/+21
| | | | |
| | | * | Add more test and remove password also from error logsMichael Mercier2021-03-153-10/+24
| | | | |
| | | * | Put remove password in the utils and use it also in cmd.executeMichael Mercier2021-03-153-14/+35
| | | | |
| | | * | Use urllib instead of custom parsingMichael Mercier2021-03-151-4/+10
| | | | |
| | | * | Better assert messageMichael Mercier2021-03-121-2/+3
| | | | |
| | | * | Use format instead of f-stringMichael Mercier2021-03-121-1/+1
| | | | |
| | | * | Replace password in URI by stars if present + testMichael Mercier2021-03-112-1/+18
| | | | |
| | * | | remove commentSebastian Thiel2021-03-171-2/+0
| | | | |
| | * | | Merge pull request #1202 from Yobmod/mainSebastian Thiel2021-03-1711-228/+338
| | |\ \ \ | | | |_|/ | | |/| | Add more types
| | | * | chane HEAD typing to SymbolicReferenceYobmod2021-03-161-1/+1
| | | | |
| | | * | fixes from #1202Yobmod2021-03-161-12/+16
| | | | |
| | | * | add types to git.__init__, compat, db, diff, exc, utilYobmod2021-03-1611-215/+321
| | | | |
| | | * | rebase on masterYobmod2021-03-162-2/+14
| | | | |
| | * | | Fix changes.rst…Sebastian Thiel2021-03-141-1/+1
| | | | |
| | * | | Set an end-date for python 3.5 supportSebastian Thiel2021-03-132-2/+7
| | | | |
| | * | | Merge pull request #1193 from bertwesarg/revert-sorted-kwargsSebastian Thiel2021-03-131-1/+8
| | |\ \ \ | | | | | | | | | | | | Restore order of operators before executing the git command only for < py3.6
| | | * | | Restore order of operators before executing the git command only for < py3.6Bert Wesarg2021-03-131-1/+8
| | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Python 3.6 kwargs order will be preserved and thus provide a stable order, therefore we can make 89ade7bfff534ae799d7dd693b206931d5ed3d4f conditional based on the Python. Thus make it able to pass ordered options to Git commands. See: https://www.python.org/dev/peps/pep-0468/
| | * | | Merge pull request #1192 from Yobmod/mainSebastian Thiel2021-03-126-125/+201
| | |\ \ \ | | | |/ / | | |/| / | | | |/ Add initial types to repo/fun.py