Logo
Explore Help
Sign In
Cyclic0007/ruff
1
0
Fork 0
You've already forked ruff
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
b14fc961413c5ca032fdfdff29fcc6be4f9c8a75
ruff/crates/ty_python_semantic/resources/mdtest/call
History
David Peter 5518c84ab3 [ty] Support __init_subclass__ (#20190)
## Summary

`__init_subclass__` is implicitly a classmethod.

closes https://github.com/astral-sh/ty/issues/1106

## Test Plan

Regression test
2025-09-01 10:16:28 +02:00
..
annotation.md
…
builtins.md
[ty] Improve isinstance() truthiness analysis for generic types (#19668)
2025-08-01 14:44:22 +01:00
callable_instance.md
…
constructor.md
[ty] Rename call-possibly-unbound-method to possibly-unbound-implicit-call (#18017)
2025-05-22 15:25:51 +00:00
dunder_import.md
[ty] Add special-cased inference for __import__(name) and importlib.import_module(name) (#19008)
2025-06-29 11:49:23 +01:00
dunder.md
[ty] Allow declared-only class-level attributes to be accessed on the class (#19071)
2025-07-02 18:03:56 +02:00
function.md
[ty] Remove Type::Tuple (#19669)
2025-08-11 22:03:32 +01:00
getattr_static.md
[ty] eliminate is_fully_static (#18799)
2025-06-24 18:02:05 -07:00
invalid_syntax.md
…
methods.md
[ty] Support __init_subclass__ (#20190)
2025-09-01 10:16:28 +02:00
never.md
…
overloads.md
[ty] Unpack variadic argument type in specialization (#20130)
2025-08-29 04:27:28 +00:00
replace.md
[ty] synthesize __replace__ for dataclasses (>=3.13) (#19545)
2025-07-29 17:32:01 +02:00
str_startswith.md
…
subclass_of.md
…
union.md
[ty] eliminate is_fully_static (#18799)
2025-06-24 18:02:05 -07:00
Powered by Gitea Version: 1.25.3 Page: 4109ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API