Skip to content

Commit 0879968

Browse files
committed
style: apply format
1 parent ddc435c commit 0879968

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/openllm/repo.py

+3-11
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
def cmd_list(verbose: bool = False):
2525
if verbose:
2626
VERBOSE_LEVEL.set(20)
27-
pyaml.pprint(
28-
list_repo(), sort_dicts=False, sort_keys=False
29-
)
27+
pyaml.pprint(list_repo(), sort_dicts=False, sort_keys=False)
3028

3129

3230
@app.command(name='remove', help='remove given repo')
@@ -106,17 +104,11 @@ def default():
106104
return info.path
107105

108106

109-
def list_repo(repo_name: typing.Optional[str]=None) -> typing.List[RepoInfo]:
107+
def list_repo(repo_name: typing.Optional[str] = None) -> typing.List[RepoInfo]:
110108
if TEST_REPO:
111109
return [
112110
RepoInfo(
113-
name='default',
114-
url='',
115-
server='test',
116-
owner='test',
117-
repo='test',
118-
branch='main',
119-
path=Path(TEST_REPO),
111+
name='default', url='', server='test', owner='test', repo='test', branch='main', path=Path(TEST_REPO)
120112
)
121113
]
122114
config = load_config()

0 commit comments

Comments
 (0)