From 5c5fa3c8658448624c1d1b01bf0e4a87011609da Mon Sep 17 00:00:00 2001 From: Jan Smejkal Date: Tue, 20 Feb 2024 16:25:13 +0100 Subject: [PATCH] lint fix: Remove leading newline, fix import --- opl/consumer_lag.py | 3 +-- opl/kafka_init.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/opl/consumer_lag.py b/opl/consumer_lag.py index 4e3e2d5..85885b7 100644 --- a/opl/consumer_lag.py +++ b/opl/consumer_lag.py @@ -3,8 +3,7 @@ import logging import time from kafka import TopicPartition - -import opl.kafka_init as kafka_init +from opl.kafka_init import kafka_init class ConsumerLag: diff --git a/opl/kafka_init.py b/opl/kafka_init.py index 70f98b3..532e834 100644 --- a/opl/kafka_init.py +++ b/opl/kafka_init.py @@ -6,7 +6,6 @@ class kafka_init: - @staticmethod def kafka_bootstrap(args): try: