From b554c37acd1feda0232ad39d1a3895c38a2b47c9 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Fri, 20 Jan 2023 16:19:32 +0100 Subject: [PATCH] Reoder imports --- producer.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/producer.py b/producer.py index 80af37b..3415726 100644 --- a/producer.py +++ b/producer.py @@ -20,24 +20,19 @@ import logging import asyncio import random -from typing import List - import os -import click as cli +from typing import List -from importlib.metadata import version, PackageNotFoundError +from importlib.metadata import version +from prometheus_client import CollectorRegistry, Gauge, Counter, push_to_gateway +import click as cli from thoth.common import init_logging - from thoth.storages import GraphDatabase - import thoth.messaging.producer as producer from thoth.messaging import package_released_message from thoth.messaging.package_releases import MessageContents as PackageReleasedContent - -from prometheus_client import CollectorRegistry, Gauge, Counter, push_to_gateway - from thoth.python import Source from thoth.python import AIOSource from thoth.python.exceptions import NotFoundError