Skip to content

Commit

Permalink
lint care/facility/signals/
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak committed Sep 24, 2024
1 parent cea928f commit 28976e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion care/facility/signals/asset_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def save_asset_fields_before_update(
return

if instance.pk:
instance._previous_values = {
instance._previous_values = { # noqa: SLF001
"hostname": instance.resolved_middleware.get("hostname"),
}

Expand Down

0 comments on commit 28976e7

Please sign in to comment.