Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2023
1 parent 7a7a7d7 commit 3a3de78
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/dummymodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,7 @@ def literal(x: Literal["foo"]) -> Literal["foo"]:


@typechecked
def literal_in_union(
x: Union[
Literal["foo"],
]
) -> Literal["foo"]:
def literal_in_union(x: Union[Literal["foo"],]) -> Literal["foo"]:
y: Literal["foo"] = x
return y

Expand Down

0 comments on commit 3a3de78

Please sign in to comment.