[ty] Support __init_subclass__ by sharkdp · Pull Request #20190 · astral-sh/ruff (original) (raw)

@sharkdp sharkdp added the ty

Multi-file analysis & type inference

label

Sep 1, 2025

@sharkdp

dhruvmanila

dcreager added a commit that referenced this pull request

Sep 2, 2025

@dcreager

second-ed pushed a commit to second-ed/ruff that referenced this pull request

Sep 9, 2025

@sharkdp @second-ed

Summary

__init_subclass__ is implicitly a classmethod.

closes astral-sh/ty#1106

Test Plan

Regression test

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