diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 08:01:38 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2022-05-18 08:01:38 +0800 |
commit | e530544546b2a4e5f00e8d9458bf1b895573ec41 (patch) | |
tree | 9b957bd812fe98664d3f1f75615dda8242663097 /git/refs/remote.py | |
parent | f78fc42b90711c81e06699d1ebdbe69e6648b949 (diff) | |
download | gitpython-e530544546b2a4e5f00e8d9458bf1b895573ec41.tar.gz |
reformat according to 'black' configuration file.
Diffstat (limited to 'git/refs/remote.py')
-rw-r--r-- | git/refs/remote.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/git/refs/remote.py b/git/refs/remote.py index 8ac6bcd2..ec10c5a1 100644 --- a/git/refs/remote.py +++ b/git/refs/remote.py @@ -33,7 +33,7 @@ class RemoteReference(Head): common_path: Union[PathLike, None] = None, remote: Union["Remote", None] = None, *args: Any, - **kwargs: Any + **kwargs: Any, ) -> Iterator["RemoteReference"]: """Iterate remote references, and if given, constrain them to the given remote""" common_path = common_path or cls._common_path_default @@ -48,9 +48,7 @@ class RemoteReference(Head): # tightening the types of arguments in subclasses and recommends Any or # "type: ignore". (See https://github.com/python/typing/issues/241) @classmethod - def delete( - cls, repo: "Repo", *refs: "RemoteReference", **kwargs: Any # type: ignore - ) -> None: + def delete(cls, repo: "Repo", *refs: "RemoteReference", **kwargs: Any) -> None: # type: ignore """Delete the given remote references :note: |