Skip to content

Commit 19ea44d

Browse files
committed
ci: test pr event + remove import in function
1 parent 6de0139 commit 19ea44d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import glob
66
import msgspec
77
import structlog
8+
import json
9+
810
from datetime import datetime
911

1012
from src.types import PluginInfo
@@ -226,8 +228,6 @@ def sync_all_cli() -> None:
226228

227229
async def consolidate_plugins() -> None:
228230
"""Consolidate all individual plugin YAML files into a single plugins.yml file."""
229-
import json
230-
231231
await logger.ainfo("Consolidating plugins into single file")
232232

233233
plugins: list[PluginInfo] = await read_plugins()
@@ -251,7 +251,6 @@ async def consolidate_plugins() -> None:
251251

252252
async def consolidate_readmes() -> None:
253253
"""Consolidate all individual README markdown files into a single readmes.json file."""
254-
import json
255254

256255
await logger.ainfo("Consolidating READMEs into single JSON file")
257256

0 commit comments

Comments
 (0)