diff options
author | yobmod <yobmod@gmail.com> | 2021-05-13 01:27:08 +0100 |
---|---|---|
committer | yobmod <yobmod@gmail.com> | 2021-05-13 01:27:08 +0100 |
commit | 96c43652c9f5b11b611e1aca0a6d67393e9e38c1 (patch) | |
tree | 8a589c6678ebcd2081405d4a79610a1da440fd72 /git/util.py | |
parent | f62c8d8bbb566edd9e7a40155c7380944cf65dfb (diff) | |
download | gitpython-96c43652c9f5b11b611e1aca0a6d67393e9e38c1.tar.gz |
flake8 and mypy fixes
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/git/util.py b/git/util.py index d1ea4c10..30018310 100644 --- a/git/util.py +++ b/git/util.py @@ -281,16 +281,6 @@ _cygpath_parsers = ( ) # type: Tuple[Tuple[Pattern[str], Callable, bool], ...] -@overload -def cygpath(path: str) -> str: - ... - - -@overload -def cygpath(path: PathLike) -> PathLike: - ... - - def cygpath(path: PathLike) -> PathLike: """Use :meth:`git.cmd.Git.polish_url()` instead, that works on any environment.""" path = str(path) # ensure is str and not AnyPath. |