Skip to content

Commit

Permalink
Override checkstyle for no-self-use, will be better to keep them insi…
Browse files Browse the repository at this point in the history
…de the class
  • Loading branch information
ADOT Patch workflow committed Jan 29, 2024
1 parent 3926997 commit 3cdc84c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
_CONTAINS_NO_ATTRIBUTES: bool = False


# pylint: disable=no-self-use
class TestAwsMetricAttributesSpanExporter(TestCase):
def setUp(self):
self.delegate_mock: SpanExporter = MagicMock()
Expand Down Expand Up @@ -337,7 +338,7 @@ def generate_metric_attribute_map_side_effect(span, resource):
)

def _configure_mock_for_export_with_multiple_side_effect(
self, span_data_mocks: [ReadableSpan], metric_attributes_list: [Attributes]
self, span_data_mocks: [ReadableSpan], metric_attributes_list: [Attributes]
):
attributes_map_list: list = []
for span in span_data_mocks:
Expand Down

0 comments on commit 3cdc84c

Please sign in to comment.