Skip to content

Commit

Permalink
Pre-commit and ci don't agree
Browse files Browse the repository at this point in the history
  • Loading branch information
sl0thentr0py committed May 5, 2022
1 parent c14b938 commit 28662c0
Showing 1 changed file with 16 additions and 22 deletions.
38 changes: 16 additions & 22 deletions sentry_sdk/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,14 @@ def init_span_recorder(self, maxlen):

def __repr__(self):
# type: () -> str
return (
"<%s(op=%r, description:%r, trace_id=%r, span_id=%r, parent_span_id=%r, sampled=%r)>"
% (
self.__class__.__name__,
self.op,
self.description,
self.trace_id,
self.span_id,
self.parent_span_id,
self.sampled,
)
return "<%s(op=%r, description:%r, trace_id=%r, span_id=%r, parent_span_id=%r, sampled=%r)>" % (
self.__class__.__name__,
self.op,
self.description,
self.trace_id,
self.span_id,
self.parent_span_id,
self.sampled,
)

def __enter__(self):
Expand Down Expand Up @@ -520,17 +517,14 @@ def __init__(

def __repr__(self):
# type: () -> str
return (
"<%s(name=%r, op=%r, trace_id=%r, span_id=%r, parent_span_id=%r, sampled=%r)>"
% (
self.__class__.__name__,
self.name,
self.op,
self.trace_id,
self.span_id,
self.parent_span_id,
self.sampled,
)
return "<%s(name=%r, op=%r, trace_id=%r, span_id=%r, parent_span_id=%r, sampled=%r)>" % (
self.__class__.__name__,
self.name,
self.op,
self.trace_id,
self.span_id,
self.parent_span_id,
self.sampled,
)

@property
Expand Down

0 comments on commit 28662c0

Please sign in to comment.