[ty] Show truthiness in ConstraintSet display and simplify falsy error message by AlexWaygood · Pull Request #23913 · astral-sh/ruff (original) (raw)

@AlexWaygood @claude

…r message

Display ConstraintSet with its satisfaction status:

Also shorten "is statically known to be falsy" to "is always falsy" in static_assert error messages.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

carljm added a commit that referenced this pull request

Mar 13, 2026

@carljm

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})