Skip to content

Commit

Permalink
style: apply format
Browse files Browse the repository at this point in the history
  • Loading branch information
bojiang committed Oct 17, 2024
1 parent ddc435c commit 0879968
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/openllm/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 0879968

Please sign in to comment.