Skip to content

Commit 34452c2

Browse files
ci: auto fixes from pre-commit.ci
For more information, see https://pre-commit.ci
1 parent c203bb7 commit 34452c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gen_readme.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
if __name__ == '__main__':
1212
with (pathlib.Path('.').parent / 'README.md').open('w') as f:
1313
f.write(
14-
jinja2.Environment(loader=jinja2.FileSystemLoader('.'))
14+
jinja2
15+
.Environment(loader=jinja2.FileSystemLoader('.'))
1516
.get_template('README.md.tpl')
1617
.render(
1718
model_dict=json.loads(

src/openllm/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

33
import asyncio, asyncio.subprocess, functools, hashlib, io, json, os, pathlib, signal, subprocess, sys, sysconfig, typing, shlex
4-
import typer, typer.core, pydantic, questionary, pyaml, yaml
4+
import typer, pydantic, questionary, pyaml, yaml
55

66
from collections import UserDict
77
from contextlib import asynccontextmanager, contextmanager

src/openllm/repo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ def _clone_repo(repo: RepoInfo) -> None:
167167
['git', 'clone', '--depth=1', '-b', repo.branch, repo.url, str(repo.path)], check=True
168168
)
169169
except (subprocess.CalledProcessError, FileNotFoundError):
170-
import dulwich
171170
import dulwich.porcelain
172171

173172
# Dulwich doesn't have easy output suppression, but we rarely get here

0 commit comments

Comments
 (0)