bluesky / ophyd-async

Hardware abstraction for bluesky written using asyncio
https://blueskyproject.io/ophyd-async
BSD 3-Clause "New" or "Revised" License
12 stars 26 forks source link

Make all Enums `UPPER_CASE` across the code base #605

Closed coretl closed 3 hours ago

coretl commented 1 month ago

To match conventions

So:

class MyEnum(str, Enum):
    FOO = "foo"
    BAR = "bar"
coretl commented 4 days ago

@jennmald

coretl commented 4 days ago

See if there is a ruff rule for checking uppercase enum keys