summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update change log3.1.16Sebastian Thiel2021-05-131-1/+10
|
* Bump versionSebastian Thiel2021-05-131-1/+1
|
* Merge branch 'addtypes'Sebastian Thiel2021-05-138-207/+390
|\
| * remove commentsSebastian Thiel2021-05-132-4/+10
| |
| * flake8 and mypy fixesyobmod2021-05-132-30/+20
| |
| * Add types to cmd.py Gityobmod2021-05-135-83/+194
| |
| * Add types to cmd.py CatFileContentStreamyobmod2021-05-121-10/+10
| |
| * Add types to cmd.py AutoInterruptyobmod2021-05-122-18/+21
| |
| * Add types to cmd.py Gityobmod2021-05-122-20/+52
| |
| * Add typing section to cmd.pyyobmod2021-05-121-0/+12
| |
| * Add types to config.py GitConfigParser ._assure_writable .add_section ↵yobmod2021-05-092-16/+18
| | | | | | | | .read_only .get_value .get_values ._string_to_value ._value_to_string .add_value .rename_section
| * Add types to config.py GitConfigParser .write() ._write() .items() .items_all()yobmod2021-05-091-8/+10
| |
| * 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()
* | Merge branch 'addtypes'Sebastian Thiel2021-05-128-74/+83
|\ \ | |/
| * 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