Skip to content

Feature: 适配 Pydantic V2 并放宽 pytest 限制#22

Merged
yanyongyu merged 3 commits intononebot:masterfrom
he0119:feat/pyd2
Mar 9, 2024
Merged

Feature: 适配 Pydantic V2 并放宽 pytest 限制#22
yanyongyu merged 3 commits intononebot:masterfrom
he0119:feat/pyd2

Conversation

@he0119
Copy link
Copy Markdown
Member

@he0119 he0119 commented Mar 8, 2024

测试目前直接在 pyd2 上跑的,我直接改成 pyd2 的形式了,没做兼容。

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.76%. Comparing base (80cce51) to head (16bbb19).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
- Coverage   93.92%   93.76%   -0.17%     
==========================================
  Files          14       14              
  Lines         461      449      -12     
==========================================
- Hits          433      421      -12     
  Misses         28       28              
Flag Coverage Δ
unittests 93.76% <100.00%> (-0.17%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yanyongyu yanyongyu added the enhancement New feature or request label Mar 8, 2024
@yanyongyu
Copy link
Copy Markdown
Member

nb的测试是pyd v1和 v2 一起跑的

@he0119
Copy link
Copy Markdown
Member Author

he0119 commented Mar 8, 2024

nb的测试是pyd v1和 v2 一起跑的

完了,这就改(

不对啊,nonebug 自己的测试只跑了 pyd2 的。

@yanyongyu yanyongyu changed the title ✨ 适配 Pydantic V2 并放宽 pytest 限制 Feature: 适配 Pydantic V2 并放宽 pytest 限制 Mar 9, 2024
@yanyongyu yanyongyu merged commit 1cec9ad into nonebot:master Mar 9, 2024
@he0119 he0119 deleted the feat/pyd2 branch March 9, 2024 02:55
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.

2 participants