From 08799688ef81d141b57551edd85b18192d1313bc Mon Sep 17 00:00:00 2001 From: bojiang Date: Thu, 17 Oct 2024 21:08:52 +0800 Subject: [PATCH] style: apply format --- src/openllm/repo.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/openllm/repo.py b/src/openllm/repo.py index 20eb562ff..be828dbdd 100644 --- a/src/openllm/repo.py +++ b/src/openllm/repo.py @@ -24,9 +24,7 @@ def cmd_list(verbose: bool = False): if verbose: VERBOSE_LEVEL.set(20) - pyaml.pprint( - list_repo(), sort_dicts=False, sort_keys=False - ) + pyaml.pprint(list_repo(), sort_dicts=False, sort_keys=False) @app.command(name='remove', help='remove given repo') @@ -106,17 +104,11 @@ def default(): return info.path -def list_repo(repo_name: typing.Optional[str]=None) -> typing.List[RepoInfo]: +def list_repo(repo_name: typing.Optional[str] = None) -> typing.List[RepoInfo]: if TEST_REPO: return [ RepoInfo( - name='default', - url='', - server='test', - owner='test', - repo='test', - branch='main', - path=Path(TEST_REPO), + name='default', url='', server='test', owner='test', repo='test', branch='main', path=Path(TEST_REPO) ) ] config = load_config()