-
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.
- Loading branch information
1 parent
6155dbd
commit a442bfe
Showing
10 changed files
with
33 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
conformant = "Pass" | ||
conformant = "Partial" | ||
notes = """ | ||
Does not narrow from float to int after isinstance() check | ||
""" | ||
output = """ | ||
specialtypes_promotions.py:17: error: "float" has no attribute "numerator" [attr-defined] | ||
specialtypes_promotions.py:29: error: Incompatible return value type (got "complex", expected "float") [return-value] | ||
specialtypes_promotions.py:33: error: Incompatible return value type (got "complex", expected "float") [return-value] | ||
""" | ||
conformance_automated = "Pass" | ||
conformance_automated = "Fail" | ||
errors_diff = """ | ||
Line 26: Expected 1 errors | ||
""" |
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.10.0" | ||
test_duration = 6.2 | ||
test_duration = 1.5 |
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,11 +1,13 @@ | ||
conformant = "Partial" | ||
notes = """ | ||
Does not reject use of attribute that is compatible only with float. | ||
Does not narrow from float to int after isinstance() check | ||
""" | ||
output = """ | ||
specialtypes_promotions.py:29:8 Incompatible return type [7]: Expected `float` but got `complex`. | ||
specialtypes_promotions.py:33:8 Incompatible return type [7]: Expected `float` but got `complex`. | ||
""" | ||
conformance_automated = "Fail" | ||
errors_diff = """ | ||
Line 17: Expected 1 errors | ||
Line 26: Expected 1 errors | ||
""" |
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 = "pyre 0.9.21" | ||
test_duration = 2.6 | ||
test_duration = 2.9 |
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 = "pyright 1.1.364" | ||
test_duration = 1.8 | ||
test_duration = 1.6 |
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,8 +1,12 @@ | ||
conformant = "Pass" | ||
conformant = "Partial" | ||
notes = """ | ||
Does not narrow from float to int after isinstance() check | ||
""" | ||
output = """ | ||
File "specialtypes_promotions.py", line 17, in func1: No attribute 'numerator' on float [attribute-error] | ||
File "specialtypes_promotions.py", line 29, in func2: bad return type [bad-return-type] | ||
File "specialtypes_promotions.py", line 33, in func2: bad return type [bad-return-type] | ||
""" | ||
conformance_automated = "Pass" | ||
conformance_automated = "Fail" | ||
errors_diff = """ | ||
Line 26: Expected 1 errors | ||
""" |
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 = "pytype 2024.04.11" | ||
test_duration = 54.5 | ||
test_duration = 49.8 |
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