..
annotations
[ty] Improve invalid-type-form
diagnostic where a module-literal type is used in a type expression and the module has a member which would be valid in a type expression ( #18244 )
2025-05-21 15:38:56 -04:00
assignment
[ty] Add hint that PEP 604 union syntax is only available in 3.10+ ( #18192 )
2025-05-19 19:47:31 +02:00
binary
[ty] Infer parameter specializations of generic aliases ( #18021 )
2025-05-12 22:12:44 -04:00
boolean
Revert "[ty] Better control flow for boolean expressions that are inside if ( #18010 )" ( #18150 )
2025-05-17 08:27:32 -04:00
boundness_declaredness
Update class literal display to use <class 'Foo'>
style ( #17889 )
2025-05-06 20:11:25 -04:00
call
[ty] Include synthesized arguments in displayed counts for too-many-positional-arguments
( #18098 )
2025-05-14 22:51:23 -04:00
class
Update class literal display to use <class 'Foo'>
style ( #17889 )
2025-05-06 20:11:25 -04:00
comparison
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
comprehensions
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
conditional
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
declaration
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
diagnostics
[ty] Don't warn yield
not in function when yield
is in function ( #18008 )
2025-05-21 18:16:25 +02:00
directives
[ty] Fix normalization of unions containing instances parameterized with unions ( #18112 )
2025-05-14 22:48:33 -04:00
doc
ty_python_semantic: add union type context to function call type errors
2025-05-09 13:40:51 -04:00
exception
[ty] Raise invalid-exception-caught
even when exception is not captured ( #18202 )
2025-05-19 18:13:34 -04:00
expression
[ty] Understand classes that inherit from subscripted Protocol[]
as generic ( #17832 )
2025-05-09 17:39:15 +01:00
function
[ty] Add a subdiagnostic if invalid-return-type
is emitted on a method with an empty body on a non-protocol subclass of a protocol class ( #18243 )
2025-05-21 17:38:07 +00:00
generics
[ty] Promote literals when inferring class specializations from constructors ( #18102 )
2025-05-19 15:42:54 -04:00
import
[ty] Support import <namespace>
and from <namespace> import module
( #18137 )
2025-05-21 07:28:33 +00:00
literal
[ty] Understand classes that inherit from subscripted Protocol[]
as generic ( #17832 )
2025-05-09 17:39:15 +01:00
loops
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
narrow
Revert "[ty] Better control flow for boolean expressions that are inside if ( #18010 )" ( #18150 )
2025-05-17 08:27:32 -04:00
regression
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
scopes
[ty] support accessing __builtins__
global ( #18118 )
2025-05-15 22:01:38 +02:00
shadowing
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
snapshots
[ty] Split invalid-base
error code into two error codes ( #18245 )
2025-05-21 18:02:39 -04:00
stubs
Update class literal display to use <class 'Foo'>
style ( #17889 )
2025-05-06 20:11:25 -04:00
subscript
[ty] Integer indexing into bytes
returns int
( #18218 )
2025-05-20 16:44:12 +02:00
suppressions
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
type_of
Update class literal display to use <class 'Foo'>
style ( #17889 )
2025-05-06 20:11:25 -04:00
type_properties
[ty] Ensure that a function-literal type is always equivalent to itself ( #18227 )
2025-05-20 14:11:03 -04:00
type_qualifiers
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
unary
Update class literal display to use <class 'Foo'>
style ( #17889 )
2025-05-06 20:11:25 -04:00
with
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
.mdformat.toml
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
attributes.md
[ty] Ignore ClassVar
declarations when resolving instance members ( #18241 )
2025-05-21 19:23:35 +02:00
cycle.md
[ty] Add cycle handling for unpacking targets ( #18078 )
2025-05-13 21:27:48 +00:00
dataclass_transform.md
[ty] Detect overloads decorated with @dataclass_transform
( #17835 )
2025-05-07 15:51:13 +02:00
dataclasses.md
[ty] Support frozen dataclasses ( #17974 )
2025-05-22 00:20:34 -04:00
decorators.md
ty_python_semantic: add union type context to function call type errors
2025-05-09 13:40:51 -04:00
descriptor_protocol.md
Update class literal display to use <class 'Foo'>
style ( #17889 )
2025-05-06 20:11:25 -04:00
final.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
intersection_types.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
invalid_syntax.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
known_constants.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
mdtest_config.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
mdtest_custom_typeshed.md
[ty] Fix duplicate diagnostics for unresolved module when an import from
statement imports multiple members ( #17886 )
2025-05-06 12:37:10 +01:00
metaclass.md
Update class literal display to use <class 'Foo'>
style ( #17889 )
2025-05-06 20:11:25 -04:00
mro.md
[ty] Split invalid-base
error code into two error codes ( #18245 )
2025-05-21 18:02:39 -04:00
named_tuple.md
[ty] NamedTuple 'fallback' attributes ( #18127 )
2025-05-16 12:56:43 +02:00
overloads.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
pep695_type_aliases.md
[ty] Support typing.TypeAliasType
( #18156 )
2025-05-19 16:36:49 +02:00
properties.md
ty_python_semantic: add union type context to function call type errors
2025-05-09 13:40:51 -04:00
protocols.md
[ty] Understand classes that inherit from subscripted Protocol[]
as generic ( #17832 )
2025-05-09 17:39:15 +01:00
slots.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
statically_known_branches.md
Fix typos ( #17988 )
2025-05-09 14:57:14 -04:00
sys_platform.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
sys_version_info.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
terminal_statements.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
type_api.md
Update class literal display to use <class 'Foo'>
style ( #17889 )
2025-05-06 20:11:25 -04:00
typed_dict.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
union_types.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
unpacking.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00
unreachable.md
Rename Red Knot ( #17820 )
2025-05-03 19:49:15 +02:00