[ty] Skip EnumMeta.__call__ for enum constructor signatures by Glyphack · Pull Request #24513 · astral-sh/ruff (original) (raw)

@astral-sh-bot Bot added the ty

Multi-file analysis & type inference

label

Apr 9, 2026

@Glyphack Glyphack changed the titleUse Enum.__new__ for enum constructor [ty] Use Enum.__new__ for enum constructor

Apr 9, 2026

@Glyphack Glyphack marked this pull request as ready for review

April 11, 2026 07:32

@Glyphack

@sharkdp

@sharkdp sharkdp changed the title[ty] Use Enum.__new__ for enum constructor [ty] Skip EnumMeta.__call__ for enum constructor signatures

Apr 14, 2026

@Glyphack Glyphack deleted the shaygan-enum-hover-constructor branch

April 14, 2026 09:25

This was referenced

Apr 27, 2026

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 }})