From b9f45f62cce6dd16410d6feb8e0d554a43f04722 Mon Sep 17 00:00:00 2001 From: Roma Frolov Date: Fri, 20 Dec 2024 20:36:27 +0300 Subject: [PATCH] feat: ruff --- tests/prometheus/kafka/test_provider.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/prometheus/kafka/test_provider.py b/tests/prometheus/kafka/test_provider.py index e549ea75b3..e046737f85 100644 --- a/tests/prometheus/kafka/test_provider.py +++ b/tests/prometheus/kafka/test_provider.py @@ -27,7 +27,8 @@ def test_get_publish_destination_name_from_cmd(self, queue: str) -> None: class TestKafkaMetricsSettingsProvider( - KafkaPrometheusSettings, LocalBaseKafkaMetricsSettingsProviderTestcase + KafkaPrometheusSettings, + LocalBaseKafkaMetricsSettingsProviderTestcase, ): def test_get_consume_attrs_from_message(self, queue: str) -> None: body = b"Hello" @@ -46,7 +47,8 @@ def test_get_consume_attrs_from_message(self, queue: str) -> None: class TestBatchKafkaMetricsSettingsProvider( - BatchKafkaPrometheusSettings, LocalBaseKafkaMetricsSettingsProviderTestcase + BatchKafkaPrometheusSettings, + LocalBaseKafkaMetricsSettingsProviderTestcase, ): def test_get_consume_attrs_from_message(self, queue: str) -> None: body = [b"Hi ", b"again, ", b"FastStream!"]