chore: stylefixes · pythonthings/sentry-python@37b11fc · GitHub
Skip to content

Commit 37b11fc

Browse files
committed
chore: stylefixes
1 parent e81fee9 commit 37b11fc

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

sentry_sdk/integrations/__init__.py

Lines changed: 1 addition & 1 deletion

sentry_sdk/integrations/logging.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
_installed = False
1414
_master_handler = None
1515

16+
1617
def install(client):
1718
global _installed
1819
global _master_handler
@@ -21,7 +22,7 @@ def install(client):
2122
return
2223

2324
_master_handler = SentryHandler()
24-
_master_handler.setLevel(logging.INFO) # TODO: make configurable
25+
_master_handler.setLevel(logging.INFO) # TODO: make configurable
2526

2627
old_callhandlers = logging.Logger.callHandlers
2728

tests/integrations/flask/test_flask.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import json
22
import pytest
3-
import logging
43

54
from io import BytesIO
65

@@ -11,7 +10,6 @@
1110
from flask_login import LoginManager, login_user
1211

1312
from sentry_sdk import capture_message, Client, get_current_hub
14-
from sentry_sdk.integrations.logging import SentryHandler
1513
import sentry_sdk.integrations.flask as flask_sentry
1614

1715
get_current_hub().bind_client(Client(integrations=["flask", "logging"]))

tests/integrations/logging/test_logging.py

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)