Skip to content

Commit d679095

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 858c066 commit d679095

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,8 +1671,7 @@ def check_callable_call(
16711671
if callee.is_type_obj() and callee.type_object().is_protocol:
16721672
protocol_name = callee.type_object().name
16731673
self.chk.fail(
1674-
message_registry.CANNOT_INSTANTIATE_PROTOCOL.format(protocol_name),
1675-
context,
1674+
message_registry.CANNOT_INSTANTIATE_PROTOCOL.format(protocol_name), context
16761675
)
16771676
if callee.from_type_type:
16781677
self.chk.note(

0 commit comments

Comments
 (0)