Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 27, 2023
1 parent 3c0361b commit 408fe8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ansiblelint/rules/no_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ def transform(
v.ca.items.pop(key)
elif value.get("move"):
item.get("tasks").yaml_set_comment_before_after_key(
k + 1, value.get("val")
k + 1,
value.get("val"),
)
else:
v.ca.items[key][2].value = value.get("val", None)
Expand Down

0 comments on commit 408fe8d

Please sign in to comment.