Skip to content

Commit 00111d5

Browse files
ref: Fix N803 flake8 failures
Recently `flake8` started to fail with `N803` errors in some places where it had previously passed. This PR adds `# noqa` comments to suppress these errors. Unblocks #3079
1 parent b922f40 commit 00111d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/integrations/aiohttp/test_aiohttp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ async def test_traces_sampler_gets_request_object_in_sampling_context(
288288
sentry_init,
289289
aiohttp_client,
290290
DictionaryContaining, # noqa:N803
291-
ObjectDescribedBy,
291+
ObjectDescribedBy, # noqa: N803
292292
):
293293
traces_sampler = mock.Mock()
294294
sentry_init(

tests/integrations/aws_lambda/test_aws.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ def test_handler(event, context):
555555
def test_traces_sampler_gets_correct_values_in_sampling_context(
556556
run_lambda_function,
557557
DictionaryContaining, # noqa:N803
558-
ObjectDescribedBy,
559-
StringContaining,
558+
ObjectDescribedBy, # noqa: N803
559+
StringContaining, # noqa: N803
560560
):
561561
# TODO: This whole thing is a little hacky, specifically around the need to
562562
# get `conftest.py` code into the AWS runtime, which is why there's both

0 commit comments

Comments
 (0)