Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
adamantike committed Apr 6, 2021
1 parent 5c42432 commit 681f456
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ def get_default_span_details(scope: dict) -> Tuple[str, dict]:
Returns:
a tuple of the span name, and any attributes to attach to the span.
"""
span_name = scope.get("path") or "HTTP {}".format(scope.get("method", "").strip())
span_name = scope.get("path") or "HTTP {}".format(
scope.get("method", "").strip()
)

return span_name, {}

Expand Down

0 comments on commit 681f456

Please sign in to comment.