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

chore: fix StringEnum._generate_next_value_ signature #3770

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

charles-cooper
Copy link
Member

@charles-cooper charles-cooper commented Feb 10, 2024

per the documentation, _generate_next_value_ should be a staticmethod.

reference:
https://docs.python.org/3/library/enum.html#enum.Enum._generate_next_value_

What I did

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

per the documentation, _generate_next_value_ should be a staticmethod.

reference:
https://docs.python.org/3/library/enum.html#enum.Enum._generate_next_value_
@charles-cooper charles-cooper changed the title fix: StringEnum._generate_next_value_ signature chore: fix StringEnum._generate_next_value_ signature Feb 10, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (37ef8f4) 84.94% compared to head (2f04975) 84.72%.

❗ Current head 2f04975 differs from pull request most recent head 5cf2923. Consider uploading reports for the commit 5cf2923 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3770      +/-   ##
==========================================
- Coverage   84.94%   84.72%   -0.22%     
==========================================
  Files          92       92              
  Lines       13594    13595       +1     
  Branches     3060     3061       +1     
==========================================
- Hits        11548    11519      -29     
- Misses       1560     1587      +27     
- Partials      486      489       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@charles-cooper charles-cooper merged commit 261e3d9 into vyperlang:master Feb 12, 2024
84 checks passed
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.

4 participants