From e530544546b2a4e5f00e8d9458bf1b895573ec41 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 18 May 2022 08:01:38 +0800 Subject: reformat according to 'black' configuration file. --- git/refs/remote.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'git/refs/remote.py') 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: -- cgit v1.2.1