Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna committed Feb 15, 2024
1 parent 13132bd commit 10184d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core_codemods/flask_json_response_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def _has_content_type_set(self, node: cst.BaseExpression) -> bool:
maybe_subscript = (
self.is_subscript_value(maybe_attr) if maybe_attr else None
)
if maybe_assignment := (
if (
self.is_target_of_assignment(maybe_subscript)
if maybe_subscript
else None
Expand Down

0 comments on commit 10184d4

Please sign in to comment.