nonebot / nonebot2

跨平台 Python 异步聊天机器人框架 / Asynchronous multi-platform chatbot framework written in Python
https://nonebot.dev
MIT License
5.83k stars 553 forks source link

Fix: 错误的类型标注和 annotated 处理 #2828

Closed yanyongyu closed 1 month ago

yanyongyu commented 1 month ago

make pyright happy

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.18%. Comparing base (015ddd9) to head (47947b0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2828 +/- ## ========================================== - Coverage 94.18% 94.18% -0.01% ========================================== Files 48 48 Lines 4044 4041 -3 ========================================== - Hits 3809 3806 -3 Misses 235 235 ``` | [Flag](https://app.codecov.io/gh/nonebot/nonebot2/pull/2828/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nonebot) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/nonebot/nonebot2/pull/2828/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nonebot) | `94.18% <100.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nonebot#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 1 month ago

🚀 Deployed on https://deploy-preview-2828--nonebot2.netlify.app