Skip to content

Commit

Permalink
Fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Sep 13, 2018
1 parent 6c321cf commit bce6424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_visitors/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def maybe_set_parent(tree: ast.AST) -> ast.AST:
"""
for statement in ast.walk(tree):
for child in ast.iter_child_nodes(statement):
if not hasattr(child, 'parent'): # noqa: Z113
if not hasattr(child, 'parent'): # noqa: Z112
setattr(child, 'parent', statement)

return tree
Expand Down

0 comments on commit bce6424

Please sign in to comment.