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

fix: sfw-fication #225

Merged
merged 1 commit into from
Mar 7, 2021
Merged

fix: sfw-fication #225

merged 1 commit into from
Mar 7, 2021

Conversation

Vyvy-vi
Copy link
Owner

@Vyvy-vi Vyvy-vi commented Mar 7, 2021

Description

This PR removes any NSFW stuff from the bot.

Related Issue:

closes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the style guidelines of this project
  • I have read the contributing guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Mar 7, 2021

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 0.24 ⭐ 0.18 ⭐ -0.06 👍
Method Length 181.21 😞 184.38 😞 3.17 👎
Working memory 243.60 ⛔ 250.93 ⛔ 7.33 👎
Quality 70.78% 🙂 70.89% 🙂 0.11% 👍
Other metrics Before After Change
Lines 1965 1873 -92
Changed files Quality Before Quality After Quality Change
bot/cogs/fun.py 82.49% ⭐ 83.12% ⭐ 0.63% 👍
bot/cogs/utils/inputs.py 33.33% 😞 33.33% 😞 0.00%

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

File Function Complexity Length Working Memory Quality Recommendation
bot/cogs/fun.py Fun.magicball 0 ⭐ 48 ⭐ 10 😞 76.81% ⭐ Extract out complex expressions

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!

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

@github-actions github-actions bot added awaiting review enhancement New feature or request labels Mar 7, 2021
@Vyvy-vi Vyvy-vi merged commit d363813 into main Mar 7, 2021
@Vyvy-vi Vyvy-vi deleted the fix/sfw-bot branch March 7, 2021 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant