sagiri-bot icon indicating copy to clipboard operation
sagiri-bot copied to clipboard

修复 Python 3.10 报错

Open TimeRainStarSky opened this issue 2 years ago • 1 comments

来自 @nullqwertyuiop

TimeRainStarSky avatar Aug 10 '22 10:08 TimeRainStarSky

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 0.60 ⭐ 0.60 ⭐ 0.00
Method Length 74.59 🙂 74.23 🙂 -0.36 👍
Working memory 8.36 🙂 8.35 🙂 -0.01 👍
Quality 65.29% 🙂 65.33% 🙂 0.04% 👍
Other metrics Before After Change
Lines 287 287 0
Changed files Quality Before Quality After Quality Change
sagiri_bot/orm/async_orm.py 65.29% 🙂 65.33% 🙂 0.04% 👍

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

File Function Complexity Length Working Memory Quality Recommendation

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

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!

sourcery-ai[bot] avatar Aug 10 '22 10:08 sourcery-ai[bot]