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 "AFI" template #1618

Merged
merged 1 commit into from
Jan 19, 2023
Merged

[CA] Support "AFI" template #1618

merged 1 commit into from
Jan 19, 2023

Conversation

BoboTiG
Copy link
Owner

@BoboTiG BoboTiG commented Jan 19, 2023

Fixes #1613

@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Jan 19, 2023

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 0.03%.

Quality metrics Before After Change
Complexity 58.34 ⛔ 58.34 ⛔ 0.00
Method Length 183.00 😞 183.83 😞 0.83 👎
Working memory 1.34 ⭐ 1.34 ⭐ 0.00
Quality 18.76% 18.73% -0.03% 👎
Other metrics Before After Change
Lines 576 579 3
Changed files Quality Before Quality After Quality Change
tests/test_ca.py 62.38% 🙂 62.27% 🙂 -0.11% 👎
wikidict/lang/ca/__init__.py 14.40% ⛔ 14.37% ⛔ -0.03% 👎

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

File Function Complexity Length Working Memory Quality Recommendation
wikidict/lang/ca/__init__.py last_template_handler 76 ⛔ 592 ⛔ 1.33% ⛔ Refactor to reduce nesting. Try splitting into smaller methods
tests/test_ca.py test_parse_word 0 ⭐ 294 ⛔ 9 🙂 55.47% 🙂 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!

@BoboTiG BoboTiG merged commit 6eb0622 into master Jan 19, 2023
@BoboTiG BoboTiG deleted the fix-1613 branch January 19, 2023 14:20
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 "AFI" template
1 participant