Darkempire78 / Mee6-Bypasser

A Discord Bot that allows you to use for free premium mee6's level role rewards.
GNU General Public License v3.0
71 stars 32 forks source link

Sourcery refactored master branch #10

Closed sourcery-ai[bot] closed 3 years ago

sourcery-ai[bot] commented 3 years ago

Branch master refactored by Sourcery.

If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.

See our documentation here.

Run Sourcery locally

Reduce the feedback loop during development by using the Sourcery editor plugin:

Review changes via command line

To manually merge these changes, make sure you're on the master branch, then run:

git fetch origin sourcery/master
git merge --ff-only FETCH_HEAD
git reset HEAD^
sourcery-ai[bot] commented 3 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 5.53 ⭐ 4.59 ⭐ -0.94 👍
Method Length 35.50 ⭐ 34.50 ⭐ -1.00 👍
Working memory 8.53 🙂 8.35 🙂 -0.18 👍
Quality 68.50% 🙂 70.61% 🙂 2.11% 👍
Other metrics Before After Change
Lines 29 27 -2
Changed files Quality Before Quality After Quality Change
Cogs/roleRewards.py 68.50% 🙂 70.61% 🙂 2.11% 👍

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

File Function Complexity Length Working Memory Quality Recommendation
Cogs/roleRewards.py RoleRewardsCog.rolerewards 6 ⭐ 111 🙂 10 😞 61.60% 🙂 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!

Let us know what you think of it by mentioning @sourcery-ai in a comment.