Ruff Team's New Checks Even Flag Enums Whose Values Are All True

charliermarsh · x · 2026-09-25

Charlie Marsh highlights exceptional work by Alex Waygood: the type-checking tooling now catches subtle conditions involving Enums—even if-statements whose Enum members' values are all true. When such a condition appears in an if-else sequence, it prompts you to add an assertnever fall-through branch to enforce exhaustiveness.

Original post →

More from coding & agent

coding & agent channel →