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

Rename enums for clarity and pep8 #63

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Rename enums for clarity and pep8 #63

merged 1 commit into from
Jul 25, 2024

Conversation

ryanhiebert
Copy link
Owner

@ryanhiebert ryanhiebert commented Jul 24, 2024

This one is not urgent. IMO, it would be fine to release this in a minor version upgrade.

PEP 8 spoke that we should use ALL_CAPS for enum values, but I was too stubborn to get on board. In this I hope to lower my stubbornness by switching this in these internal APIs. And rename our enums to have a bit clearer semantic meaning that I hope will be easier to digest.

Copy link
Collaborator

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks reasonable to me! Thanks for cleaning this up.

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7798942) to head (3de2104).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #63   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          188       185    -3     
  Branches        43        42    -1     
=========================================
- Hits           188       185    -3     

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

@ryanhiebert ryanhiebert merged commit 17056c1 into main Jul 25, 2024
16 checks passed
@ryanhiebert ryanhiebert deleted the rename-enums branch July 25, 2024 13:56
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.

2 participants