Closed twentylemon closed 2 months ago
Attention: Patch coverage is 66.66667%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 95.91%. Comparing base (
a351ab6
) to head (25de53c
). Report is 1 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
duckbot/cogs/games/satisfy/pretty.py | 62.50% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Sonar is complaining about, "Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed." on solution_embed
. There's a lot of ifs, but they're already pretty well spaced and laid out, imo.
Not sure what's going on with the sanity test case. The runner can't download the python docker image. Still ready for review, my guess is that it is a transient error.
Summary
Part of https://github.com/duck-dynasty/duckbot/issues/959
Discord embeds can only have 25 "fields," and a field is used for every recipe in the solution. Splitting into many embeds overcomes that limitation. Example in beta.
But the command can still fail for HUGE factories. Discord still has a 6000 character limit, example.
Checklist
format
in the repository rootpytest
in the repository root