ruff/crates/red_knot_python_semantic/resources/mdtest
Douglas Creager d4126f6049
Handle type[Any] correctly (#14876)
This adds support for `type[Any]`, which represents an unknown type (not
an instance of an unknown type), and `type`, which we are choosing to
interpret as `type[object]`.

Closes #14546
2024-12-10 16:12:37 -05:00
..
annotations [red-knot] Add infrastructure to declare lints (#14873) 2024-12-10 16:14:44 +00:00
assignment Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
binary Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
boolean Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
call Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
comparison Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
conditional Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
declaration Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
exception [red-knot] Add infrastructure to declare lints (#14873) 2024-12-10 16:14:44 +00:00
expression Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
function [red-knot] function parameter types (#14802) 2024-12-06 12:55:56 -08:00
import Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
literal Migrate some inference tests to mdtests (#14795) 2024-12-06 11:19:22 +01:00
loops Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
narrow Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
regression [red-knot] Do not attach diagnostics to wrong file (#14337) 2024-11-14 15:39:51 +01:00
scopes Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
shadowing Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
stubs Fix typos found by codespell (#14863) 2024-12-09 09:32:12 +00:00
subscript Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
type_of Handle type[Any] correctly (#14876) 2024-12-10 16:12:37 -05:00
unary Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
with Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
.mdformat.toml [red-knot] have mdformat wrap mdtest files to 100 columns (#14020) 2024-10-31 21:00:51 +00:00
attributes.md Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
generics.md [red-knot] Add infrastructure to declare lints (#14873) 2024-12-10 16:14:44 +00:00
invalid_syntax.md [red-knot] Separate invalid syntax code snippets (#14803) 2024-12-06 02:41:33 +00:00
mdtest_config.md Fix typos found by codespell (#14863) 2024-12-09 09:32:12 +00:00
metaclass.md [red-knot] Add infrastructure to declare lints (#14873) 2024-12-10 16:14:44 +00:00
mro.md [red-knot] Add infrastructure to declare lints (#14873) 2024-12-10 16:14:44 +00:00
sys_version_info.md [red-knot] Support for TOML configs in Markdown tests (#14785) 2024-12-06 10:22:08 +01:00
type_alias.md [red-knot] PEP 695 type aliases (#14357) 2024-11-22 08:47:14 +01:00
unpacking.md [red-knot] Infer precise types for len() calls (#14599) 2024-12-04 11:16:53 -08:00