Skip to content

Commit f5d203e

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

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2486,9 +2486,7 @@ def check_argument_types(
24862486
arg_type = get_proper_type(arg_type)
24872487
if arg_kind == nodes.ARG_STAR and not self.is_valid_var_arg(arg_type):
24882488
self.msg.invalid_var_arg(arg_type, context)
2489-
if arg_kind == nodes.ARG_STAR2 and not self.is_valid_keyword_var_arg(
2490-
arg_type
2491-
):
2489+
if arg_kind == nodes.ARG_STAR2 and not self.is_valid_keyword_var_arg(arg_type):
24922490
is_mapping = is_subtype(
24932491
arg_type, self.chk.named_type("_typeshed.SupportsKeysAndGetItem")
24942492
)

0 commit comments

Comments
 (0)