Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | update change log3.1.16 | Sebastian Thiel | 2021-05-13 | 1 | -1/+10 |
| | |||||
* | Bump version | Sebastian Thiel | 2021-05-13 | 1 | -1/+1 |
| | |||||
* | Merge branch 'addtypes' | Sebastian Thiel | 2021-05-13 | 8 | -207/+390 |
|\ | |||||
| * | remove comments | Sebastian Thiel | 2021-05-13 | 2 | -4/+10 |
| | | |||||
| * | flake8 and mypy fixes | yobmod | 2021-05-13 | 2 | -30/+20 |
| | | |||||
| * | Add types to cmd.py Git | yobmod | 2021-05-13 | 5 | -83/+194 |
| | | |||||
| * | Add types to cmd.py CatFileContentStream | yobmod | 2021-05-12 | 1 | -10/+10 |
| | | |||||
| * | Add types to cmd.py AutoInterrupt | yobmod | 2021-05-12 | 2 | -18/+21 |
| | | |||||
| * | Add types to cmd.py Git | yobmod | 2021-05-12 | 2 | -20/+52 |
| | | |||||
| * | Add typing section to cmd.py | yobmod | 2021-05-12 | 1 | -0/+12 |
| | | |||||
| * | Add types to config.py GitConfigParser ._assure_writable .add_section ↵ | yobmod | 2021-05-09 | 2 | -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() | yobmod | 2021-05-09 | 1 | -8/+10 |
| | | |||||
| * | Add types to config.py GitConfigParser .read() | yobmod | 2021-05-09 | 1 | -11/+17 |
| | | |||||
| * | Add types to config.py GitConfigParser .release() ._read() ._has_includes() ↵ | yobmod | 2021-05-08 | 1 | -14/+16 |
| | | | | | | | | ._included_paths() .__del__() .__exit__() .__enter__() ._optionform() | ||||
| * | Add types to config.py GitConfigParser .__init__() .aquire_lock() | yobmod | 2021-05-08 | 2 | -18/+27 |
| | | |||||
| * | Add types to config.py class _OMD | yobmod | 2021-05-08 | 1 | -13/+20 |
| | | |||||
| * | Add types to config.py class SectionConstraint | yobmod | 2021-05-08 | 1 | -10/+10 |
| | | |||||
| * | Add types to config.py CONFIG_LEVELS, MetaParserBuilder.__new__() ↵ | yobmod | 2021-05-08 | 4 | -13/+14 |
| | | | | | | | | .needs_values() .set_dirty_and_flush_changes() | ||||
* | | Merge branch 'addtypes' | Sebastian Thiel | 2021-05-12 | 8 | -74/+83 |
|\ \ | |/ | |||||
| * | flake8 fixes | yobmod | 2021-05-08 | 8 | -71/+80 |
| | | |||||
| * | Add types to Remote. init getattr exists | yobmod | 2021-05-08 | 2 | -4/+4 |
|/ | |||||
* | fix Repo forward ref | yobmod | 2021-05-03 | 1 | -1/+1 |
| | |||||
* | second pass of adding types | yobmod | 2021-05-03 | 2 | -16/+22 |
| | |||||
* | add types to _from_line() | yobmod | 2021-05-03 | 1 | -6/+7 |
| | |||||
* | add overloads to to_progress_instance() | yobmod | 2021-05-03 | 1 | -2/+18 |
| | |||||
* | change flags type to int | yobmod | 2021-05-03 | 1 | -4/+4 |
| | |||||
* | 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 |