python-betterproto icon indicating copy to clipboard operation
python-betterproto copied to clipboard

Remove enum prefixes

Open Gobot1234 opened this issue 5 years ago • 4 comments

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

Gobot1234 avatar Dec 18 '20 12:12 Gobot1234

I might actually just update this to remove any prefix on an enum that is the same for all the members.

Gobot1234 avatar Dec 30 '20 20:12 Gobot1234

Needs to be relocked, but apart from that looks fine to me

cetanu avatar Dec 15 '21 22:12 cetanu

Failure looks unrelated

Gobot1234 avatar Apr 20 '22 19:04 Gobot1234

Has this really been blocked for 2 years?

ryanwradtke avatar Jul 15 '22 20:07 ryanwradtke