Skip to content

Commit

Permalink
fix correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
yangdanny97 committed Nov 18, 2024
1 parent de5fc14 commit eddf8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fixit/rules/use_builtin_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def visit_Name(self, node: libcst.Name) -> None:
)

if self.annotation_counter > 0 and is_typing_type:
correct_type = node.value.title()
correct_type = node.value.title().lower()
scope = self.get_metadata(ScopeProvider, node)
replacement = None
if scope is not None and correct_type in scope:
Expand Down

0 comments on commit eddf8d8

Please sign in to comment.