duck-dynasty / duckbot

A Discord bot for personal friend group
GNU General Public License v3.0
9 stars 10 forks source link

:art: move `_generate_next_value_` function to comply with python3.11 #1005

Closed twentylemon closed 1 week ago

twentylemon commented 1 week ago
Summary

Setting up new Chromebook, I can't seem to get python3.10 on it. Running tests with 3.11, I get,

E TypeError: _generate_nextvalue must be defined before members

so moving those around to comply.

Checklist
codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 96.51%. Comparing base (ba29814) to head (29a5493). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
duckbot/cogs/games/satisfy/building.py 50.00% 1 Missing :warning:
duckbot/cogs/games/satisfy/item.py 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1005 +/- ## ======================================= Coverage 96.51% 96.51% ======================================= Files 95 95 Lines 2237 2237 Branches 165 165 ======================================= Hits 2159 2159 Misses 67 67 Partials 11 11 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.