diff --git a/tests/integrations/aiohttp/test_aiohttp.py b/tests/integrations/aiohttp/test_aiohttp.py index 092b20adcc..954cf853b2 100644 --- a/tests/integrations/aiohttp/test_aiohttp.py +++ b/tests/integrations/aiohttp/test_aiohttp.py @@ -288,7 +288,7 @@ async def test_traces_sampler_gets_request_object_in_sampling_context( sentry_init, aiohttp_client, DictionaryContaining, # noqa:N803 - ObjectDescribedBy, + ObjectDescribedBy, # noqa: N803 ): traces_sampler = mock.Mock() sentry_init( diff --git a/tests/integrations/aws_lambda/test_aws.py b/tests/integrations/aws_lambda/test_aws.py index cca49f2a35..98196d1fcb 100644 --- a/tests/integrations/aws_lambda/test_aws.py +++ b/tests/integrations/aws_lambda/test_aws.py @@ -555,8 +555,8 @@ def test_handler(event, context): def test_traces_sampler_gets_correct_values_in_sampling_context( run_lambda_function, DictionaryContaining, # noqa:N803 - ObjectDescribedBy, - StringContaining, + ObjectDescribedBy, # noqa: N803 + StringContaining, # noqa: N803 ): # TODO: This whole thing is a little hacky, specifically around the need to # get `conftest.py` code into the AWS runtime, which is why there's both