diff options
author | Giel van Schijndel <giel@mortis.eu> | 2021-04-23 11:37:54 +0200 |
---|---|---|
committer | Giel van Schijndel <giel@mortis.eu> | 2021-04-23 15:23:11 +0200 |
commit | 6a233359ce1ec30386f97d4acdf989f1c3570842 (patch) | |
tree | 047fd8ec3a13d39ed15f51dbd1aa17cdd607483b /git/diff.py | |
parent | 74a1b17a29390660abe79d83d837a666141f8625 (diff) | |
download | gitpython-6a233359ce1ec30386f97d4acdf989f1c3570842.tar.gz |
fix(mypy): properly describe link between parameter and return types
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.
Diffstat (limited to 'git/diff.py')
0 files changed, 0 insertions, 0 deletions