Skip to content

Conversation

@rec
Copy link
Owner

@rec rec commented Mar 5, 2023

No description provided.

@sourcery-ai
Copy link

sourcery-ai bot commented Mar 5, 2023

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 4.10 ⭐ 3.99 ⭐ -0.11 👍
Method Length 29.55 ⭐ 29.81 ⭐ 0.26 👎
Working memory 5.18 ⭐ 5.17 ⭐ -0.01 👍
Quality 82.51% 82.75% 0.24% 👍
Other metrics Before After Change
Lines 96 101 5
Changed files Quality Before Quality After Quality Change
nc/color.py 82.51% ⭐ 82.75% ⭐ 0.24% 👍

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

File Function Complexity Length Working Memory Quality Recommendation
nc/color.py _make 12 🙂 139 😞 7 🙂 59.23% 🙂 Try splitting into smaller methods

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!

@rec rec merged commit 33e0465 into main Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants