python-betterproto
python-betterproto copied to clipboard
Remove enum prefixes
Summary
Removes any enum class name prefixes from enum members.
NONE -> NONE ARITHMETIC_OPERATOR_NONE -> NONE
Checklist
- [x] If code changes were made then they have been tested.
- [ ] I have updated the documentation to reflect the changes.
- [X] This PR fixes an issue.
- [x] This PR adds something new (e.g. new method or parameters).
- [x] This change has an associated test
- [x] This PR is a breaking change (e.g. methods or parameters removed/renamed)
- [ ] This PR is not a code change (e.g. documentation, README, ...)
Closes #174 #302
I might actually just update this to remove any prefix on an enum that is the same for all the members.
Needs to be relocked, but apart from that looks fine to me
Failure looks unrelated
Has this really been blocked for 2 years?