Skip to content

Commit b215e6a

Browse files
🚨 auto fix by pre-commit hooks
1 parent 2073362 commit b215e6a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

nonebot_plugin_orm/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def orm(ctx: click.Context, config: Path, name: str, **_) -> None:
6969

7070

7171
def update_cmd_opts(
72-
f: Callable[Concatenate[AlembicConfig, _P], _R]
72+
f: Callable[Concatenate[AlembicConfig, _P], _R],
7373
) -> Callable[_P, _R]:
7474
@wraps(f)
7575
@click.pass_context

nonebot_plugin_orm/templates/multidb/env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ async def run_migrations_online() -> None:
115115
await asyncio.gather(*(conn.close() for conn in conns.values()))
116116
await asyncio.gather(*(engine.dispose() for engine in engines.values()))
117117

118+
118119
if context.is_offline_mode():
119120
run_migrations_offline()
120121
else:

0 commit comments

Comments
 (0)