Skip to content

Commit 3f6f04e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6d92f95 commit 3f6f04e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mypy/types.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2587,9 +2587,7 @@ def __init__(
25872587
@property
25882588
def key_type(self) -> Type:
25892589
"""Return a Union of Literal types for all keys."""
2590-
return UnionType.make_union(
2591-
[LiteralType(key, self.fallback) for key in self.items.keys()]
2592-
)
2590+
return UnionType.make_union([LiteralType(key, self.fallback) for key in self.items.keys()])
25932591

25942592
@property
25952593
def value_type(self) -> Type:

0 commit comments

Comments
 (0)