Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
amyreese committed Nov 1, 2024
1 parent 76b9f0f commit 81bf739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fixit/rules/rewrite_to_literal.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def visit_Call(self, node: cst.Call) -> None:
cst.ensure_type(
ele.value,
(
cst.Tuple # type: ignore
cst.Tuple
if isinstance(ele.value, cst.Tuple)
else cst.List
),
Expand Down

0 comments on commit 81bf739

Please sign in to comment.