mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
## Summary see discussion here: https://github.com/astral-sh/ty/issues/876#issuecomment-3310130167 https://docs.python.org/3/library/enum.html#enum.StrEnum > Note Using [auto](https://docs.python.org/3/library/enum.html#enum.auto) with [StrEnum](https://docs.python.org/3/library/enum.html#enum.StrEnum) results in the lower-cased member name as the value. ## Test Plan - new mdtest - also, added a test to assert the (already correct) behavior for `IntEnum` --------- Co-authored-by: David Peter <mail@david-peter.de>