From 39c30036bec7fa2b06d1ed66e9438ed009f0a1f5 Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Sat, 29 Aug 2026 15:54:12 -0400 Subject: [PATCH] style(tests): wrap long lines in sentry_init tests --- tests/test_sentry_init.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/test_sentry_init.py b/tests/test_sentry_init.py index b08a1fc..6603bf9 100644 --- a/tests/test_sentry_init.py +++ b/tests/test_sentry_init.py @@ -127,7 +127,10 @@ def test_before_send_drops_exception_and_thread_frame_locals(sentry_mod): { "stacktrace": { "frames": [ - {"function": "extract_with_claude", "vars": {"prompt": "EXTRACT"}} + { + "function": "extract_with_claude", + "vars": {"prompt": "EXTRACT"}, + } ] } } @@ -141,4 +144,7 @@ def test_before_send_drops_exception_and_thread_frame_locals(sentry_mod): assert "vars" not in out["exception"]["values"][0]["stacktrace"]["frames"][0] assert "vars" not in out["threads"]["values"][0]["stacktrace"]["frames"][0] assert "vars" not in out["stacktrace"]["frames"][0] - assert out["exception"]["values"][0]["stacktrace"]["frames"][0]["function"] == "handler" + assert ( + out["exception"]["values"][0]["stacktrace"]["frames"][0]["function"] + == "handler" + )