-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incorporated PR feedback from @hauntsaninja.
- Loading branch information
Showing
53 changed files
with
370 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
conformant = "Pass" | ||
notes = """ | ||
Type evaluation differs from other type checkers because of ambiguity in the spec related to method bindings. | ||
""" | ||
output = """ | ||
annotations_methods.py:42: error: Expression is of type "B", not "A" [assert-type] | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
conformant = "Pass" | ||
output = """ | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
conformant = "Pass" | ||
output = """ | ||
directives_type_ignore_file2.py:14: error: Incompatible types in assignment (expression has type "str", variable has type "int") [assignment] | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
conformant = "Pass" | ||
output = """ | ||
overloads_basic.py:35: error: No overload variant of "__getitem__" of "Bytes" matches argument type "str" [call-overload] | ||
overloads_basic.py:35: note: Possible overload variants: | ||
overloads_basic.py:35: note: def __getitem__(self, int, /) -> int | ||
overloads_basic.py:35: note: def __getitem__(self, slice, /) -> bytes | ||
overloads_basic.py:59: error: Single overload definition, multiple required [misc] | ||
overloads_basic.py:69: error: An overloaded function outside a stub file must have an implementation [no-overload-impl] | ||
overloads_basic.py:37: error: No overload variant of "__getitem__" of "Bytes" matches argument type "str" [call-overload] | ||
overloads_basic.py:37: note: Possible overload variants: | ||
overloads_basic.py:37: note: def __getitem__(self, int, /) -> int | ||
overloads_basic.py:37: note: def __getitem__(self, slice, /) -> bytes | ||
overloads_basic.py:62: error: Single overload definition, multiple required [misc] | ||
overloads_basic.py:74: error: An overloaded function outside a stub file must have an implementation [no-overload-impl] | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
version = "mypy 1.8.0" | ||
test_duration = 1.3135571479797363 | ||
test_duration = 0.6594910621643066 |
Oops, something went wrong.