OreosLab / checkinpanel

一个主要运行在 𝐞𝐥𝐞𝐜𝐕𝟐𝐏 或 𝐪𝐢𝐧𝐠𝐥𝐨𝐧𝐠 等定时面板,同时支持系统运行环境的签到项目(环境:𝑷𝒚𝒕𝒉𝒐𝒏 3.8+ / 𝑵𝒐𝒅𝒆.𝒋𝒔 10+ / 𝑩𝒂𝒔𝒉 4+ / 𝑶𝒑𝒆𝒏𝑱𝑫𝑲8 / 𝑷𝒆𝒓𝒍5)
https://oreos.ml/checkinpanel/2021-10-01-Checkinpanel.html
MIT License
1.43k stars 354 forks source link

Update ck_smzdm_app.py #181

Closed OwnerCM closed 1 year ago

OwnerCM commented 1 year ago

更新签到成功后的消息提示

sourcery-ai[bot] commented 1 year ago

Sourcery Code Quality Report

✅  Merging this PR will increase code quality in the affected files by 0.20%.

Quality metrics Before After Change
Complexity 2.22 ⭐ 2.22 ⭐ 0.00
Method Length 70.20 🙂 69.00 🙂 -1.20 👍
Working memory 10.36 😞 10.36 😞 0.00
Quality 62.99% 🙂 63.19% 🙂 0.20% 👍
Other metrics Before After Change
Lines 78 78 0
Changed files Quality Before Quality After Quality Change
ck_smzdm_app.py 62.99% 🙂 63.19% 🙂 0.20% 👍

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation
ck_smzdm_app.py Smzdm.sign 3 ⭐ 242 ⛔ 14 😞 46.09% 😞 Try splitting into smaller methods. Extract out complex expressions

Legend and Explanation

The emojis denote the absolute quality of the code:

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Help us improve this quality report!