ruff/crates/red_knot_python_semantic/resources/mdtest
Douglas Creager 2802cbde29
Don't special-case class instances in unary expression inference (#15045)
We have a handy `to_meta_type` that does the right thing for class
instances, and also works for all of the other types that are “instances
of” something. Unless I'm missing something, this should let us get rid
of the catch-all clause in one fell swoop.

cf #14548
2024-12-18 14:37:17 -05:00
..
annotations [red-knot] Basic support for other legacy typing aliases (#14998) 2024-12-17 09:33:15 +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 [red-knot] Avoid undeclared path when raising conflicting declarations (#14958) 2024-12-17 09:49:39 +05:30
comparison Improve mdtests style (#14884) 2024-12-10 13:05:51 +00:00
conditional [red-knot] Improve match mdtests (#14951) 2024-12-13 09:50:17 +01:00
declaration [red-knot] Avoid undeclared path when raising conflicting declarations (#14958) 2024-12-17 09:49:39 +05:30
exception [red-knot] Report invalid exceptions (#15042) 2024-12-18 18:31:24 +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 Prioritize attribute in from/import statement (#15041) 2024-12-17 16:58:23 -05:00
literal [red-knot] Emit an error if a bare Annotated or Literal is used in a type expression (#14973) 2024-12-15 02:00:52 +00:00
loops [red-knot] Tests for 'while' loop boundness (#14944) 2024-12-12 21:06:56 +01:00
narrow [red-knot] Narrowing For Truthiness Checks (if x or if not x) (#14687) 2024-12-17 08:37:07 -08:00
regression [red-knot] Do not attach diagnostics to wrong file (#14337) 2024-11-14 15:39:51 +01:00
scopes Sync vendored typeshed stubs (#14977) 2024-12-15 01:02:41 +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 Rename custom-typeshed-dir, target-version and current-directory CLI options (#14930) 2024-12-13 08:21:52 +00:00
type_of Bind top-most parent when importing nested module (#14946) 2024-12-16 16:15:40 -05:00
unary Don't special-case class instances in unary expression inference (#15045) 2024-12-18 14:37:17 -05: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 [red-knot] Make attributes.md test future-proof (#14923) 2024-12-11 20:46:24 +01: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
known_constants.md [red-knot] Support typing.TYPE_CHECKING (#14952) 2024-12-13 09:24:48 +00:00
mdtest_config.md Rename custom-typeshed-dir, target-version and current-directory CLI options (#14930) 2024-12-13 08:21:52 +00:00
metaclass.md [red-knot] Use type[Unknown] rather than Unknown as the fallback metaclass for invalid classes (#14961) 2024-12-13 19:48:51 +00:00
mro.md [red-knot] Add infrastructure to declare lints (#14873) 2024-12-10 16:14:44 +00:00
pep695_type_aliases.md [red-knot] mdtest: python version requirements (#14954) 2024-12-13 10:40:38 +01:00
sys_version_info.md Rename custom-typeshed-dir, target-version and current-directory CLI options (#14930) 2024-12-13 08:21:52 +00:00
unpacking.md [red-knot] Infer precise types for len() calls (#14599) 2024-12-04 11:16:53 -08:00