Skip to content

Commit 553acf9

Browse files
committed
linting
1 parent 4af53dd commit 553acf9

File tree

7 files changed

+3
-8
lines changed

7 files changed

+3
-8
lines changed

sentry_sdk/integrations/redis/_async_common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
_get_pipeline_data,
1313
_update_span,
1414
)
15-
from sentry_sdk.tracing import Span
1615
from sentry_sdk.utils import capture_internal_exceptions
1716

1817
from typing import TYPE_CHECKING

sentry_sdk/integrations/redis/_sync_common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
_get_pipeline_data,
1313
_update_span,
1414
)
15-
from sentry_sdk.tracing import Span
1615
from sentry_sdk.utils import capture_internal_exceptions
1716

1817
from typing import TYPE_CHECKING

sentry_sdk/integrations/redis/modules/caches.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
if TYPE_CHECKING:
1515
from sentry_sdk.integrations.redis import RedisIntegration
16-
from sentry_sdk.tracing import Span
1716
from typing import Any, Optional
1817

1918

sentry_sdk/integrations/redis/modules/queries.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
if TYPE_CHECKING:
1212
from redis import Redis
1313
from sentry_sdk.integrations.redis import RedisIntegration
14-
from sentry_sdk.tracing import Span
1514
from typing import Any
1615

1716

sentry_sdk/integrations/redis/redis_cluster.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
RedisCluster as AsyncRedisCluster,
2424
ClusterPipeline as AsyncClusterPipeline,
2525
)
26-
from sentry_sdk.tracing import Span
2726

2827

2928
def _get_async_cluster_db_data(async_redis_cluster_instance):

tests/integrations/boto3/test_s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_breadcrumb(sentry_init, capture_events):
4545

4646
try:
4747
s3 = session.resource("s3")
48-
with sentry_sdk.start_transaction() as transaction, MockResponse(
48+
with sentry_sdk.start_transaction(), MockResponse(
4949
s3.meta.client, 200, {}, read_fixture("s3_list.xml")
5050
):
5151
bucket = s3.Bucket("bucket")

tests/integrations/redis/test_redis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def test_data_truncation(sentry_init, capture_events, render_span_tree):
186186
- op="": description=null
187187
- op="db.redis": description="SET 'somekey1' '{long_string[: 1024 - len("...") - len("SET 'somekey1' '")]}..."
188188
- op="db.redis": description="SET 'somekey2' 'bbbbbbbbbb'"\
189-
"""
189+
""" # noqa: E221
190190
)
191191

192192

@@ -212,7 +212,7 @@ def test_data_truncation_custom(sentry_init, capture_events, render_span_tree):
212212
- op="": description=null
213213
- op="db.redis": description="SET 'somekey1' '{long_string[: 30 - len("...") - len("SET 'somekey1' '")]}..."
214214
- op="db.redis": description="SET 'somekey2' '{short_string}'"\
215-
"""
215+
""" # noqa: E221
216216
)
217217

218218

0 commit comments

Comments
 (0)