Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: 使用 typing.override 标记 #2193

Merged
merged 2 commits into from Jul 17, 2023
Merged

Feature: 使用 typing.override 标记 #2193

merged 2 commits into from Jul 17, 2023

Conversation

yanyongyu
Copy link
Member

deprecate nonebot.typing.overrides. use typing_extensions.override instead.

@yanyongyu yanyongyu added the enhancement New feature or request label Jul 17, 2023
CMHopeSunshine
CMHopeSunshine previously approved these changes Jul 17, 2023
MingxuanGame
MingxuanGame previously approved these changes Jul 17, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 17, 2023

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

@codecov
Copy link

codecov bot commented Jul 17, 2023

Codecov Report

Merging #2193 (81f8552) into master (7dd7c92) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2193      +/-   ##
==========================================
- Coverage   89.81%   89.80%   -0.01%     
==========================================
  Files          46       46              
  Lines        3348     3345       -3     
==========================================
- Hits         3007     3004       -3     
  Misses        341      341              
Flag Coverage Δ
unittests 89.80% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
nonebot/drivers/aiohttp.py 61.79% <100.00%> (ø)
nonebot/drivers/fastapi.py 89.87% <100.00%> (ø)
nonebot/drivers/httpx.py 91.66% <100.00%> (ø)
nonebot/drivers/none.py 41.30% <100.00%> (ø)
nonebot/drivers/quart.py 91.66% <100.00%> (ø)
nonebot/drivers/websockets.py 69.51% <100.00%> (-0.37%) ⬇️
nonebot/typing.py 100.00% <100.00%> (ø)
nonebot/utils.py 88.50% <100.00%> (-0.14%) ⬇️

@github-actions github-actions bot temporarily deployed to pull request July 17, 2023 07:53 Inactive
@yanyongyu yanyongyu merged commit 6dc87a9 into master Jul 17, 2023
23 checks passed
@yanyongyu yanyongyu deleted the feat/override branch July 17, 2023 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

3 participants