We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bb761d commit b287b62Copy full SHA for b287b62
2 files changed
test-data/unit/check-errorcodes.test
@@ -539,8 +539,6 @@ y = x # E: Cannot determine type of "x" [has-type] \
539
reveal_type(y) # N: Revealed type is "Any"
540
x = None
541
542
-
543
544
[case testErrorCodeRedundantCast]
545
# flags: --warn-redundant-casts
546
from typing import cast
test-data/unit/check-expressions.test
@@ -1556,7 +1556,6 @@ x = []
1556
y = ""
1557
x.append(y) if bool() else x.append(y)
1558
z = x.append(y) if bool() else x.append(y) # E: "append" of "list" does not return a value (it only ever returns None)
1559
1560
[builtins fixtures/list.pyi]
1561
1562
[case testConditionalExpressionWithUnreachableBranches]
0 commit comments