Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcollins committed Nov 16, 2024
1 parent a3657b6 commit d759f5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/splunk_otel/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import opentelemetry.context
import wrapt
from opentelemetry._logs import get_logger, Logger, SeverityNumber
from opentelemetry._logs import Logger, SeverityNumber, get_logger
from opentelemetry.context import Context
from opentelemetry.instrumentation.version import __version__ as version
from opentelemetry.sdk._logs import LogRecord
Expand Down Expand Up @@ -195,7 +195,6 @@ def _pb_profile_to_str(pb_profile) -> str:


class _PeriodicTimer:

def __init__(self, period_millis, target):
self.period_seconds = period_millis / 1e3
self.target = target
Expand Down
2 changes: 0 additions & 2 deletions tests/test_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from google.protobuf.json_format import MessageToDict
from opentelemetry._logs import Logger
from opentelemetry.sdk.resources import Resource

from splunk_otel import profile_pb2
from splunk_otel.profile import _pb_profile_to_str, _ProfileScraper, _stacktraces_to_cpu_profile

Expand Down Expand Up @@ -101,7 +100,6 @@ def _do_work(time_ms):


class _FakeLogger(Logger):

def __init__(self):
super().__init__("fake-logger")
self.log_records = []
Expand Down

0 comments on commit d759f5a

Please sign in to comment.