Skip to content

Commit 8b44289

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1f59f3b commit 8b44289

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

api/integrations/sentry/change_tracking.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ def __init__(self, webhook_url: str, secret: str) -> None:
3333
@staticmethod
3434
def generate_event_data(audit_log_record: AuditLog) -> dict[str, Any]:
3535
feature_state = get_audited_instance_from_audit_log_record(audit_log_record)
36-
if not (feature_state and isinstance(feature_state, FeatureState)): # pragma: no cover
36+
if not (
37+
feature_state and isinstance(feature_state, FeatureState)
38+
): # pragma: no cover
3739
raise ValueError(f"{repr(feature_state)} is not a FeatureState object.")
3840

3941
update_published_at = feature_state.deleted_at or (

0 commit comments

Comments
 (0)