Skip to content

Commit

Permalink
Fix over-indented lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrodehl committed Dec 21, 2022
1 parent 2405f7d commit c69ffed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/miniflask/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,9 @@ def _find_comp_names(tree: ast.AST, lcl_variables):
# find all regular loaded local variables with slices
ret = [
n.slice.value for n in ast.walk(tree) if (
hasattr(n, "value") and isinstance(n.value, ast.Name) and n.value.id in lcl_variables
and hasattr(n, "ctx") and isinstance(n.ctx, ast.Load)
and hasattr(n, "slice")
hasattr(n, "value") and isinstance(n.value, ast.Name) and n.value.id in lcl_variables
and hasattr(n, "ctx") and isinstance(n.ctx, ast.Load)
and hasattr(n, "slice")
)
]
# add all 'x in var' cases
Expand Down

0 comments on commit c69ffed

Please sign in to comment.