Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | change a type (Commit) to a forward ref | yobmod | 2021-05-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge branch 'addtypes' of https://github.com/Yobmod/GitPython into addtypes | yobmod | 2021-05-03 | 2 | -3/+8 | |
|\ \ \ | ||||||
| * \ \ | Merge branch 'main' into addtypes | Dominic | 2021-05-03 | 2 | -3/+8 | |
| |\ \ \ | ||||||
| | * \ \ | Merge pull request #1218 from mgorny/typing-ext | Sebastian Thiel | 2021-04-24 | 7 | -6/+18 | |
| | |\ \ \ | | | | | | | | | | | | | Use typing-extensions only on Python < 3.8 | |||||
| | | * | | | Fix flake8 | Sebastian Thiel | 2021-04-24 | 1 | -2/+2 | |
| | | | | | | ||||||
| | | * | | | Use typing-extensions only on Python < 3.8 | Michał Górny | 2021-04-23 | 7 | -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/testing | Sebastian Thiel | 2021-04-23 | 11 | -13/+60 | |
| | |\ \ \ | | | | | | | | | | | | | ci: check types with mypy | |||||
| | | * | | | ci: check types with mypy | Giel van Schijndel | 2021-04-23 | 1 | -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 positives | Giel van Schijndel | 2021-04-23 | 3 | -4/+4 | |
| | | | | | | ||||||
| | | * | | | improvement: teach mypy how to deal with wildcard-imported objects | Giel van Schijndel | 2021-04-23 | 2 | -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 None | Giel van Schijndel | 2021-04-23 | 1 | -1/+2 | |
| | | | | | | ||||||
| | | * | | | fix(mypy): properly describe link between parameter and return types | Giel van Schijndel | 2021-04-23 | 1 | -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 Schijndel | 2021-04-23 | 1 | -0/+4 | |
| | | | | | | ||||||
| | | * | | | test(mypy): don't give errors for every unannotated function | Giel van Schijndel | 2021-04-23 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Because there's too many to fix quickly. | |||||
| | | * | | | test(tox): verify type annotations | Giel van Schijndel | 2021-04-23 | 1 | -0/+8 | |
| | | | | | | ||||||
| | | * | | | test: sort MANIFEST.in and add missing test-requirements.txt | Giel van Schijndel | 2021-04-23 | 1 | -3/+4 | |
| | |/ / / | | | | | | | | | | | | | | | | Without the presence of 'test-requirements.txt' 'tox' is unusable. | |||||
| | * | | | fix(types): get the os.PathLike type as correctly as possible | Giel van Schijndel | 2021-04-23 | 1 | -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 Thiel | 2021-04-23 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | Related to #1223 | |||||
| | * | | | fix flake | Sebastian Thiel | 2021-04-23 | 1 | -1/+3 | |
| | | | | | ||||||
| | * | | | test(clone): verify stderr for a failing clone into a non-empty dir | Giel van Schijndel | 2021-04-23 | 1 | -0/+30 | |
| | | | | | | | | | | | | | | | | | | | | Addresses #1221, #1223 | |||||
| | * | | | Fix missing stderr when the progress parameter of _clone is None | Jingyang Liang | 2021-04-23 | 1 | -5/+3 | |
| | | | | | ||||||
| | * | | | Revert compiling GitCommand shell messages | jmcgill298 | 2021-04-22 | 2 | -5/+7 | |
| | | | | | ||||||
| | * | | | Update remote.py | Spring Burst | 2021-04-21 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | Format code | |||||
| | * | | | Remove windows special handling | Spring Burst | 2021-04-21 | 1 | -10/+1 | |
| | | | | | | | | | | | | | | | Remove windows special handling when create Remote | |||||
| | * | | | Fix publishing branches | Sebastian Thiel | 2021-04-21 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | bump patch level3.1.15 | Sebastian Thiel | 2021-04-21 | 2 | -3/+9 | |
| | | | | | ||||||
| | * | | | Set daemon attribute instead of using setDaemon method that was deprecated ↵ | Karthikeyan Singaravelan | 2021-04-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | in Python 3.10 | |||||
| | * | | | Restore CI operation | Sebastian Thiel | 2021-04-17 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | Renaming is easier, but GitHub seems to miss CI which is quite a foot/head gun | |||||
| | * | | | refactor; add failing test to validate #1210 | Sebastian Thiel | 2021-04-14 | 4 | -53/+61 | |
| | | | | | ||||||
| | * | | | Create FUNDING.yml | Sebastian Thiel | 2021-03-28 | 1 | -0/+1 | |
| | | |/ | | |/| | | | | | Allow people to say thanks. | |||||
| | * | | Merge pull request #1198 from RyaxTech/replace-password-in-uri-by-stars | Sebastian Thiel | 2021-03-19 | 5 | -14/+81 | |
| | |\ \ | | | | | | | | | | | Replace password in URI by stars if present to avoid leaking secrets in logs | |||||
| | | * | | Use continue instead of raising error | Michael Mercier | 2021-03-18 | 1 | -2/+2 | |
| | | | | | ||||||
| | | * | | Use copy and not inplace remove password + working case test | Michael Mercier | 2021-03-16 | 4 | -13/+21 | |
| | | | | | ||||||
| | | * | | Add more test and remove password also from error logs | Michael Mercier | 2021-03-15 | 3 | -10/+24 | |
| | | | | | ||||||
| | | * | | Put remove password in the utils and use it also in cmd.execute | Michael Mercier | 2021-03-15 | 3 | -14/+35 | |
| | | | | | ||||||
| | | * | | Use urllib instead of custom parsing | Michael Mercier | 2021-03-15 | 1 | -4/+10 | |
| | | | | | ||||||
| | | * | | Better assert message | Michael Mercier | 2021-03-12 | 1 | -2/+3 | |
| | | | | | ||||||
| | | * | | Use format instead of f-string | Michael Mercier | 2021-03-12 | 1 | -1/+1 | |
| | | | | | ||||||
| | | * | | Replace password in URI by stars if present + test | Michael Mercier | 2021-03-11 | 2 | -1/+18 | |
| | | | | | ||||||
| | * | | | remove comment | Sebastian Thiel | 2021-03-17 | 1 | -2/+0 | |
| | | | | | ||||||
| | * | | | Merge pull request #1202 from Yobmod/main | Sebastian Thiel | 2021-03-17 | 11 | -228/+338 | |
| | |\ \ \ | | | |_|/ | | |/| | | Add more types | |||||
| | | * | | chane HEAD typing to SymbolicReference | Yobmod | 2021-03-16 | 1 | -1/+1 | |
| | | | | | ||||||
| | | * | | fixes from #1202 | Yobmod | 2021-03-16 | 1 | -12/+16 | |
| | | | | | ||||||
| | | * | | add types to git.__init__, compat, db, diff, exc, util | Yobmod | 2021-03-16 | 11 | -215/+321 | |
| | | | | | ||||||
| | | * | | rebase on master | Yobmod | 2021-03-16 | 2 | -2/+14 | |
| | | | | | ||||||
| | * | | | Fix changes.rst… | Sebastian Thiel | 2021-03-14 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Set an end-date for python 3.5 support | Sebastian Thiel | 2021-03-13 | 2 | -2/+7 | |
| | | | | | ||||||
| | * | | | Merge pull request #1193 from bertwesarg/revert-sorted-kwargs | Sebastian Thiel | 2021-03-13 | 1 | -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.6 | Bert Wesarg | 2021-03-13 | 1 | -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/main | Sebastian Thiel | 2021-03-12 | 6 | -125/+201 | |
| | |\ \ \ | | | |/ / | | |/| / | | | |/ | Add initial types to repo/fun.py |