Unverified Commit 62eb2066 authored by Jonah Brüchert's avatar Jonah Brüchert Committed by Jonah Brüchert
Browse files

Reformat code

parent 68c892f1
......@@ -26,7 +26,7 @@ from lab import (
issues,
snippet,
workflow,
rewrite_remote
rewrite_remote,
)
from lab.utils import Utils, LogType
......@@ -53,7 +53,7 @@ class Parser: # pylint: disable=R0903
issues,
snippet,
workflow,
rewrite_remote
rewrite_remote,
]
for command in command_list:
parser = command.parser(self.subparsers)
......
......@@ -11,6 +11,7 @@ from git import Repo
from lab.utils import Utils
def parser(
subparsers: argparse._SubParsersAction, # pylint: disable=protected-access
) -> argparse.ArgumentParser:
......@@ -25,6 +26,7 @@ def parser(
)
return rewrite_remote_parser
def run(args: argparse.Namespace) -> None:
repo: Repo = Utils.get_cwd_repo()
remote_url = repo.git.remote("get-url", args.remote)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment