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

🧑‍💻 使用 Ruff 包办所有格式化和检查 #663

Merged
merged 8 commits into from
Dec 17, 2024

Conversation

AzideCupric
Copy link
Collaborator

除了静态类型检查(

Copy link

netlify bot commented Dec 11, 2024

Deploy Preview for nonebot-bison ready!

Name Link
🔨 Latest commit 8a2bad4
🔍 Latest deploy log https://app.netlify.com/sites/nonebot-bison/deploys/67605ac400ac520008599147
😎 Deploy Preview https://deploy-preview-663--nonebot-bison.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@AzideCupric
Copy link
Collaborator Author

跟随 nonebot/nonebot2#3151

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

Attention: Patch coverage is 97.17647% with 12 lines in your changes missing coverage. Please review.

Project coverage is 85.24%. Comparing base (a48ea0e) to head (8a2bad4).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
nonebot_bison/config/subs_io/nbesf_model/v3.py 64.28% 5 Missing ⚠️
nonebot_bison/config/subs_io/nbesf_model/v1.py 90.00% 1 Missing ⚠️
nonebot_bison/config/subs_io/nbesf_model/v2.py 90.00% 1 Missing ⚠️
nonebot_bison/platform/bilibili/models.py 66.66% 1 Missing ⚠️
nonebot_bison/platform/ceobecanteen/platform.py 92.85% 1 Missing ⚠️
nonebot_bison/post/post.py 85.71% 1 Missing ⚠️
nonebot_bison/theme/themes/ht2i/build.py 83.33% 1 Missing ⚠️
nonebot_bison/theme/types.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #663      +/-   ##
==========================================
+ Coverage   85.21%   85.24%   +0.02%     
==========================================
  Files          97       97              
  Lines        5479     5488       +9     
==========================================
+ Hits         4669     4678       +9     
  Misses        810      810              
Flag Coverage Δ
smoke-test 85.24% <97.17%> (+0.02%) ⬆️

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.

Copy link
Contributor

@suyiiyii suyiiyii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nonebot-bison/README.md

Lines 20 to 22 in a084ed0

<a href="https://github.com/psf/black">
<img src="https://img.shields.io/badge/code%20style-black-000000.svg?logo=python&logoColor=edb641" alt="black">
</a>

那 black 的 badge 是不是可以去掉了

@AzideCupric AzideCupric requested a review from suyiiyii December 16, 2024 16:54
@felinae98 felinae98 merged commit 08ad5c2 into main Dec 17, 2024
35 checks passed
@felinae98 felinae98 deleted the lint/only-ruff branch December 17, 2024 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants