Skip to content

Commit

Permalink
chg: use python convention for ignoring a variable to stop linter ruf…
Browse files Browse the repository at this point in the history
…f complaining
  • Loading branch information
larry6point6 committed Feb 20, 2025
1 parent 07213cf commit 15ab077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_app/redbox_app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@

if not ENVIRONMENT.is_local:

def filter_transactions(event):
def filter_transactions(event, _hint):
url_string = event["request"]["url"]
parsed_url = urlparse(url_string)
if parsed_url.path.startswith("/admin"):
Expand All @@ -327,8 +327,8 @@ def filter_transactions(event):
environment=SENTRY_ENVIRONMENT,
send_default_pii=False,
traces_sample_rate=1.0,
profiles_sample_rate=0.0,
before_send_transaction=filter_transactions,
debug=False
)
SENTRY_REPORT_TO_ENDPOINT = URL(env.str("SENTRY_REPORT_TO_ENDPOINT", "")) or None

Expand Down

0 comments on commit 15ab077

Please sign in to comment.