Skip to content

Commit 5f91c0a

Browse files
committed
modify notes
1 parent f9e6374 commit 5f91c0a

6 files changed

Lines changed: 24 additions & 16 deletions

File tree

‎conformance/results/mypy/callables_kwargs.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ conformant = "Partial"
22
notes = """
33
Allows callable without kwargs to be assigned to callable with unpacked kwargs.
44
Does not support the `closed` and `extra_items` TypedDict class arguments.
5-
Does not reject passing unpacked kwargs typed with a TypedDict that has `extra_items` to a callable that has no `**kwargs`.
6-
Does not check the `extra_items` type of unpacked kwargs against the target callable's `**kwargs` annotation.
5+
Does not check the type of an unpacked TypedDict's extra items against the target callable's `**kwargs` annotation.
6+
Does not reject unpacking a TypedDict that sets `extra_items` in a call to a callable that has no `**kwargs`.
77
"""
88
output = """
99
callables_kwargs.py:23: error: Unexpected keyword argument "closed" for "__init_subclass__" of "TypedDict" [call-arg]

‎conformance/results/pycroscope/callables_kwargs.toml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
conformant = "Partial"
22
notes = """
3-
Does not reject passing unpacked kwargs typed with a TypedDict that has `extra_items` to a callable that has no `**kwargs`.
4-
Does not check the `extra_items` type of unpacked kwargs against the target callable's `**kwargs` annotation.
3+
Does not check the type of an unpacked TypedDict's extra items against the target callable's `**kwargs` annotation.
4+
Does not reject unpacking a TypedDict that sets `extra_items` in a call to a callable that has no `**kwargs`.
5+
Incorrectly rejects assigning a callable without `**kwargs` to a callable whose `**kwargs` is typed with a closed TypedDict or one that sets `extra_items=Never`.
56
"""
67
conformance_automated = "Fail"
78
errors_diff = """

‎conformance/results/pyrefly/callables_kwargs.toml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
conformant = "Partial"
22
notes = """
3-
Does not reject passing unpacked kwargs typed with a TypedDict that has `extra_items` to a callable that has no `**kwargs`.
4-
Does not check the `extra_items` type of unpacked kwargs against the target callable's `**kwargs` annotation.
3+
Does not check the type of an unpacked TypedDict's extra items against the target callable's `**kwargs` annotation.
4+
Does not reject unpacking a TypedDict that sets `extra_items` in a call to a callable that has no `**kwargs`.
5+
Incorrectly rejects assigning a callable without `**kwargs` to a callable whose `**kwargs` is typed with a TypedDict that sets `extra_items=Never`.
56
"""
67
conformance_automated = "Fail"
78
errors_diff = """

‎conformance/results/pyright/callables_kwargs.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
conformant = "Partial"
22
notes = """
3-
Does not reject passing unpacked kwargs typed with a TypedDict that has `extra_items` to a callable that has no `**kwargs`.
3+
Does not reject unpacking a TypedDict that sets `extra_items` in a call to a callable that has no `**kwargs`.
44
"""
55
output = """
66
callables_kwargs.py:37:5 - error: Could not access item in TypedDict

‎conformance/results/results.html‎

Lines changed: 12 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎conformance/results/zuban/callables_kwargs.toml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
conformant = "Partial"
22
notes = """
3-
Does not reject passing unpacked kwargs typed with a TypedDict that has `extra_items` to a callable that has no `**kwargs`.
3+
Does not check the type of an open TypedDict's extra items against the target callable's `**kwargs` annotation.
4+
Does not reject unpacking a TypedDict that sets `extra_items` in a call to a callable that has no `**kwargs`.
5+
Incorrectly rejects assigning a callable without `**kwargs` to a callable whose `**kwargs` is typed with a closed TypedDict or one that sets `extra_items=Never`.
46
"""
57
conformance_automated = "Fail"
68
errors_diff = """

0 commit comments

Comments
 (0)