Skip to content

Commit 527b2b2

Browse files
committed
Fixed inverted check
1 parent f0ee4e8 commit 527b2b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

returns/contrib/mypy/_typeops/analtype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def translate_to_function(
125125
)
126126

127127
extra_kwargs: dict[str, Any] = {}
128-
if mypy_version_tuple > (1, 16):
128+
if mypy_version_tuple < (1, 16):
129129
extra_kwargs['msg'] = checker.msg
130130

131131
return get_proper_type(

0 commit comments

Comments
 (0)