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

[CA] Support "sigles de" template #1540

Merged
merged 1 commit into from
Jan 17, 2023
Merged

[CA] Support "sigles de" template #1540

merged 1 commit into from
Jan 17, 2023

Conversation

BoboTiG
Copy link
Owner

@BoboTiG BoboTiG commented Jan 17, 2023

Fixes #1522

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Jan 17, 2023

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 11.10 🙂 9.69 🙂 -1.41 👍
Method Length 46.00 ⭐ 45.57 ⭐ -0.43 👍
Working memory 6.94 🙂 6.81 🙂 -0.13 👍
Quality 69.09% 🙂 71.43% 🙂 2.34% 👍
Other metrics Before After Change
Lines 85 97 12
Changed files Quality Before Quality After Quality Change
wikidict/lang/ca/template_handlers.py 69.09% 🙂 71.43% 🙂 2.34% 👍

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

File Function Complexity Length Working Memory Quality Recommendation
wikidict/lang/ca/template_handlers.py render_label 19 😞 97 🙂 8 🙂 56.51% 🙂 Refactor to reduce nesting

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!

@BoboTiG BoboTiG merged commit dd95cae into master Jan 17, 2023
@BoboTiG BoboTiG deleted the fix-1522 branch January 17, 2023 20:24
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.

[CA] Support "sigles de" template
1 participant