summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add types to config.py GitConfigParser .read()yobmod2021-05-091-11/+17
|
* Add types to config.py GitConfigParser .release() ._read() ._has_includes() ↵yobmod2021-05-081-14/+16
| | | | ._included_paths() .__del__() .__exit__() .__enter__() ._optionform()
* Add types to config.py GitConfigParser .__init__() .aquire_lock()yobmod2021-05-082-18/+27
|
* Add types to config.py class _OMDyobmod2021-05-081-13/+20
|
* Add types to config.py class SectionConstraintyobmod2021-05-081-10/+10
|
* Add types to config.py CONFIG_LEVELS, MetaParserBuilder.__new__() ↵yobmod2021-05-084-13/+14
| | | | .needs_values() .set_dirty_and_flush_changes()
* flake8 fixesyobmod2021-05-088-71/+80
|
* Add types to Remote. init getattr existsyobmod2021-05-082-4/+4
|
* fix Repo forward refyobmod2021-05-031-1/+1
|
* second pass of adding typesyobmod2021-05-032-16/+22
|
* add types to _from_line()yobmod2021-05-031-6/+7
|
* add overloads to to_progress_instance()yobmod2021-05-031-2/+18
|
* change flags type to intyobmod2021-05-031-4/+4
|
* 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
| | | |