Skip to content

Commit ac81749

Browse files
check_callable: add unnecessary type ignore comment for pyright
1 parent e0d30f9 commit ac81749

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/@tests/test_cases/builtins/check_callable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
def check_gradual_guarantee(arg: Any) -> int:
55
# if Any materialized to `Callable[[], int] | None`, this function type checks
66
if callable(arg):
7-
return arg() # type: ignore[no-any-return]
7+
return arg() # type: ignore[no-any-return] # pyright: ignore[reportUnnecessaryTypeIgnoreComment]
88
return -1

0 commit comments

Comments
 (0)