Skip to content

refactor: simpify common render#457

Merged
fllesser merged 7 commits intomasterfrom
enhance/common-render
Feb 7, 2026
Merged

refactor: simpify common render#457
fllesser merged 7 commits intomasterfrom
enhance/common-render

Conversation

@fllesser
Copy link
Owner

@fllesser fllesser commented Feb 6, 2026

No description provided.

@fllesser fllesser changed the title refacotr: simpify common render refactor: simpify common render Feb 6, 2026
@codecov
Copy link

codecov bot commented Feb 6, 2026

Codecov Report

❌ Patch coverage is 90.07092% with 28 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/nonebot_plugin_parser/renders/common.py 90.32% 27 Missing ⚠️
.../nonebot_plugin_parser/parsers/bilibili/article.py 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
...nonebot_plugin_parser/parsers/bilibili/__init__.py 70.58% <100.00%> (+26.24%) ⬆️
src/nonebot_plugin_parser/parsers/bilibili/opus.py 75.00% <100.00%> (ø)
.../nonebot_plugin_parser/parsers/bilibili/article.py 0.00% <0.00%> (ø)
src/nonebot_plugin_parser/renders/common.py 93.04% <90.32%> (+7.02%) ⬆️

... and 28 files with indirect coverage changes

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

类型 PIL 耗时(秒) HTML 耗时(秒) 渲染所用图片总大小(MB) PIL 导出图片大小(MB) HTML 导出图片大小(MB)
微博视频2 0.01132 0.95288 0.01280 0.03541 0.17206
微博视频 0.01376 0.94415 0.01280 0.03432 0.17000
微博纯文2 0.03378 1.03142 0.00605 0.12023 0.28607
微博转发纯文 0.07184 1.15324 0.01382 0.24414 0.40196
微博转发(视频) 0.09640 1.30599 14.91427 0.37586 0.78030
微博转发(横图) 0.19479 1.38245 1.26621 0.48412 1.43761
哔哩哔哩动态 0.23399 2.08880 0.01244 0.18458 0.41459
微博图集(超过9张) 0.29363 1.23409 1.01493 0.31695 0.68635
微博转发(竖图) 0.30075 2.15784 1.33334 0.41583 2.48094
微博图集(3张) 0.33193 1.19859 2.73813 0.34359 0.93089
微博图集(2张) 0.34482 1.22602 4.88308 0.64458 1.68558
bilibili-read 0.36948 2.67748 0.47975 1.35513 2.58685
微博图集(4张) 0.41823 1.60114 2.34023 0.72816 1.69757
bilibili-opus 0.53407 12.67340 1.21296 1.35135 2.35157
微博图集(9张) 1.24953 1.88236 10.98936 0.98579 2.37885

@fllesser fllesser merged commit c7967db into master Feb 7, 2026
17 checks passed
@fllesser fllesser deleted the enhance/common-render branch February 7, 2026 02:59
@fllesser fllesser added the enhancement New feature or request label Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant