Skip to content

Commit 5807ca6

Browse files
committed
fix linter errors
1 parent ca714a5 commit 5807ca6

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

sentry_sdk/profiler/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
)
2626

2727
__all__ = [
28-
"start_profile_session", # TODO: Deprecate this in favor of `start_profiler`
29-
"start_profiler",
30-
"stop_profile_session", # TODO: Deprecate this in favor of `stop_profiler`
31-
"stop_profiler",
28+
"start_profile_session", # TODO: Deprecate this in favor of `start_profiler`
29+
"start_profiler",
30+
"stop_profile_session", # TODO: Deprecate this in favor of `stop_profiler`
31+
"stop_profiler",
3232
# DEPRECATED: The following was re-exported for backwards compatibility. It
3333
# will be removed from sentry_sdk.profiler in a future release.
3434
"MAX_PROFILE_DURATION_NS",

sentry_sdk/profiler/continuous_profiler.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ def start_profiler():
151151
_scheduler.manual_start()
152152

153153

154-
155154
def start_profile_session():
156155
# type: () -> None
157156

@@ -174,7 +173,6 @@ def stop_profile_session():
174173
stop_profiler()
175174

176175

177-
178176
def teardown_continuous_profiler():
179177
# type: () -> None
180178
stop_profiler()

0 commit comments

Comments
 (0)