From 4b3f0052494c0db03f9b297ebdcce4d1d6db04b3 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Wed, 3 Jul 2024 23:35:44 +0200 Subject: [PATCH] Optimizer and lint imports --- .flake8 | 5 ++++- .github/workflows/ci.yml | 3 ++- chroma_feedback/install.py | 1 + chroma_feedback/logger.py | 2 +- chroma_feedback/producer/core.py | 2 +- chroma_feedback/reporter.py | 2 +- chroma_feedback/systray.py | 2 +- tests/consumer/agile_innovative/blinkstick/test_device.py | 3 ++- tests/consumer/compulab/fit_statusb/test_device.py | 3 ++- tests/consumer/elgato/streamdeck/test_device.py | 3 ++- tests/consumer/embrava/blynclight/test_device.py | 3 ++- tests/consumer/embrava/blynclight_mini/test_device.py | 3 ++- tests/consumer/embrava/blynclight_plus/test_device.py | 3 ++- tests/consumer/gigabyte/rgb_fusion2/test_device.py | 3 ++- tests/consumer/kuando/busylight_alpha/test_device.py | 3 ++- tests/consumer/kuando/busylight_omega/test_device.py | 3 ++- tests/consumer/lifx/lifx/test_group.py | 3 ++- tests/consumer/lifx/lifx/test_light.py | 3 ++- tests/consumer/luxafor/flag/test_device.py | 3 ++- tests/consumer/luxafor/mute/test_device.py | 3 ++- tests/consumer/luxafor/orb/test_device.py | 3 ++- tests/consumer/magic/hue/test_light.py | 3 ++- tests/consumer/muteme/muteme/test_device.py | 3 ++- tests/consumer/muteme/muteme_mini/test_device.py | 3 ++- tests/consumer/mutesync/mutesync/test_device.py | 3 ++- tests/consumer/nanoleaf/nanoleaf/test_light.py | 3 ++- tests/consumer/philips/hue/test_group.py | 3 ++- tests/consumer/philips/hue/test_light.py | 3 ++- tests/consumer/plantronics/status_indicator/test_device.py | 3 ++- tests/consumer/razer/chroma/test_device.py | 3 ++- tests/consumer/signify/wiz/test_light.py | 3 ++- tests/consumer/thingm/blink1/test_device.py | 3 ++- tests/consumer/xiaomi/yeelight/test_light.py | 3 ++- tests/producer/appveyor/appveyor/test_core.py | 5 +++-- tests/producer/atlassian/bitbucket/test_core.py | 5 +++-- tests/producer/buddy/buddy/test_core.py | 5 +++-- tests/producer/circle/circle/test_core.py | 5 +++-- tests/producer/cloudbees/codeship/test_core.py | 5 +++-- tests/producer/gitlab/gitlab/test_core.py | 5 +++-- tests/producer/heroku/heroku/test_core.py | 5 +++-- tests/producer/jetbrains/teamcity/test_core.py | 5 +++-- tests/producer/microsoft/github/test_core.py | 5 +++-- tests/producer/netlify/netlify/test_core.py | 5 +++-- tests/producer/test_core.py | 3 ++- tests/producer/travis/travis/test_core.py | 5 +++-- tests/producer/uptimerobot/uptimerobot/test_core.py | 5 +++-- tests/producer/vercel/vercel/test_core.py | 5 +++-- 47 files changed, 104 insertions(+), 59 deletions(-) diff --git a/.flake8 b/.flake8 index 9b8ce84..29f6f8b 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,6 @@ [flake8] -select = E3, E4, F +select = E3, E4, F, I1, I2 per-file-ignores = __init__.py:F401 +plugins = flake8-import-order +application_import_names = chroma_feedback +import-order-style = pycharm diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78d8ad3..30509bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,7 @@ jobs: with: python-version: 3.9 - run: pip install flake8 + - run: pip install flake8-import-order - run: pip install mypy - run: pip install requests - run: pip install types-mock @@ -23,7 +24,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.9', '3.10', '3.11' ] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/chroma_feedback/install.py b/chroma_feedback/install.py index 901386a..9350f00 100644 --- a/chroma_feedback/install.py +++ b/chroma_feedback/install.py @@ -1,4 +1,5 @@ import os + from setuptools.command.install import install from chroma_feedback import helper diff --git a/chroma_feedback/logger.py b/chroma_feedback/logger.py index 9c43b61..0ae2819 100644 --- a/chroma_feedback/logger.py +++ b/chroma_feedback/logger.py @@ -1,4 +1,4 @@ -from logging import basicConfig, getLogger, Logger, DEBUG, INFO, WARNING, ERROR +from logging import DEBUG, ERROR, INFO, Logger, WARNING, basicConfig, getLogger from typing import Dict from chroma_feedback.typing import LogLevel diff --git a/chroma_feedback/producer/core.py b/chroma_feedback/producer/core.py index c793d25..da6437f 100644 --- a/chroma_feedback/producer/core.py +++ b/chroma_feedback/producer/core.py @@ -3,7 +3,7 @@ from argparse import ArgumentParser from typing import Any, List -from chroma_feedback import producer, helper, logger, wording +from chroma_feedback import helper, logger, producer, wording from chroma_feedback.typing import Producer diff --git a/chroma_feedback/reporter.py b/chroma_feedback/reporter.py index 7f70dfc..b68b3e8 100644 --- a/chroma_feedback/reporter.py +++ b/chroma_feedback/reporter.py @@ -1,5 +1,5 @@ -from typing import Any, List import os +from typing import Any, List from chroma_feedback import color, helper, logger, metadata, wording from chroma_feedback.typing import Consumer, ConsumerReport, Producer, ProducerReport, Status diff --git a/chroma_feedback/systray.py b/chroma_feedback/systray.py index 12a7508..5148443 100644 --- a/chroma_feedback/systray.py +++ b/chroma_feedback/systray.py @@ -1,7 +1,7 @@ import sys import webbrowser -from typing import List from functools import partial +from typing import List from PyQt6.QtCore import Qt from PyQt6.QtGui import QAction, QBrush, QColor, QIcon, QPainter, QPixmap diff --git a/tests/consumer/agile_innovative/blinkstick/test_device.py b/tests/consumer/agile_innovative/blinkstick/test_device.py index 25f8158..7a5515b 100644 --- a/tests/consumer/agile_innovative/blinkstick/test_device.py +++ b/tests/consumer/agile_innovative/blinkstick/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.agile_innovative.blinkstick.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/compulab/fit_statusb/test_device.py b/tests/consumer/compulab/fit_statusb/test_device.py index 523dbd9..f217ecd 100644 --- a/tests/consumer/compulab/fit_statusb/test_device.py +++ b/tests/consumer/compulab/fit_statusb/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.compulab.fit_statusb.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/elgato/streamdeck/test_device.py b/tests/consumer/elgato/streamdeck/test_device.py index ffdf627..0e88880 100644 --- a/tests/consumer/elgato/streamdeck/test_device.py +++ b/tests/consumer/elgato/streamdeck/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.elgato.streamdeck.device import process_devices MOCK = MagicMock() diff --git a/tests/consumer/embrava/blynclight/test_device.py b/tests/consumer/embrava/blynclight/test_device.py index 3ef7f1c..2d1adb9 100644 --- a/tests/consumer/embrava/blynclight/test_device.py +++ b/tests/consumer/embrava/blynclight/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.embrava.blynclight.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/embrava/blynclight_mini/test_device.py b/tests/consumer/embrava/blynclight_mini/test_device.py index ce87050..fbe68ae 100644 --- a/tests/consumer/embrava/blynclight_mini/test_device.py +++ b/tests/consumer/embrava/blynclight_mini/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.embrava.blynclight_mini.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/embrava/blynclight_plus/test_device.py b/tests/consumer/embrava/blynclight_plus/test_device.py index 203e49d..3954ca3 100644 --- a/tests/consumer/embrava/blynclight_plus/test_device.py +++ b/tests/consumer/embrava/blynclight_plus/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.embrava.blynclight_plus.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/gigabyte/rgb_fusion2/test_device.py b/tests/consumer/gigabyte/rgb_fusion2/test_device.py index 4947f51..04faf89 100644 --- a/tests/consumer/gigabyte/rgb_fusion2/test_device.py +++ b/tests/consumer/gigabyte/rgb_fusion2/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.gigabyte.rgb_fusion2.device import process_devices MOCK = MagicMock() diff --git a/tests/consumer/kuando/busylight_alpha/test_device.py b/tests/consumer/kuando/busylight_alpha/test_device.py index 1638357..f8180d2 100644 --- a/tests/consumer/kuando/busylight_alpha/test_device.py +++ b/tests/consumer/kuando/busylight_alpha/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.kuando.busylight_alpha.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/kuando/busylight_omega/test_device.py b/tests/consumer/kuando/busylight_omega/test_device.py index 29e5abb..dbe9084 100644 --- a/tests/consumer/kuando/busylight_omega/test_device.py +++ b/tests/consumer/kuando/busylight_omega/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.kuando.busylight_omega.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/lifx/lifx/test_group.py b/tests/consumer/lifx/lifx/test_group.py index 6517a16..365cf2e 100644 --- a/tests/consumer/lifx/lifx/test_group.py +++ b/tests/consumer/lifx/lifx/test_group.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.lifx.lifx.group import process_groups MOCK = MagicMock() diff --git a/tests/consumer/lifx/lifx/test_light.py b/tests/consumer/lifx/lifx/test_light.py index b1f93f0..c1c0783 100644 --- a/tests/consumer/lifx/lifx/test_light.py +++ b/tests/consumer/lifx/lifx/test_light.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.lifx.lifx.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/luxafor/flag/test_device.py b/tests/consumer/luxafor/flag/test_device.py index ffae5e9..9f6c14b 100644 --- a/tests/consumer/luxafor/flag/test_device.py +++ b/tests/consumer/luxafor/flag/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.luxafor.flag.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/luxafor/mute/test_device.py b/tests/consumer/luxafor/mute/test_device.py index b34173f..cfbd735 100644 --- a/tests/consumer/luxafor/mute/test_device.py +++ b/tests/consumer/luxafor/mute/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.luxafor.mute.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/luxafor/orb/test_device.py b/tests/consumer/luxafor/orb/test_device.py index c89ae5b..996d081 100644 --- a/tests/consumer/luxafor/orb/test_device.py +++ b/tests/consumer/luxafor/orb/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.luxafor.orb.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/magic/hue/test_light.py b/tests/consumer/magic/hue/test_light.py index 52efb3d..6743c74 100644 --- a/tests/consumer/magic/hue/test_light.py +++ b/tests/consumer/magic/hue/test_light.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.magic.hue.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/muteme/muteme/test_device.py b/tests/consumer/muteme/muteme/test_device.py index 05708f9..63672c5 100644 --- a/tests/consumer/muteme/muteme/test_device.py +++ b/tests/consumer/muteme/muteme/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.muteme.muteme.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/muteme/muteme_mini/test_device.py b/tests/consumer/muteme/muteme_mini/test_device.py index 5ff611d..bbc6b39 100644 --- a/tests/consumer/muteme/muteme_mini/test_device.py +++ b/tests/consumer/muteme/muteme_mini/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.muteme.muteme_mini.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/mutesync/mutesync/test_device.py b/tests/consumer/mutesync/mutesync/test_device.py index 5c1d273..bbdf818 100644 --- a/tests/consumer/mutesync/mutesync/test_device.py +++ b/tests/consumer/mutesync/mutesync/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.mutesync.mutesync.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/nanoleaf/nanoleaf/test_light.py b/tests/consumer/nanoleaf/nanoleaf/test_light.py index 556d794..4339848 100644 --- a/tests/consumer/nanoleaf/nanoleaf/test_light.py +++ b/tests/consumer/nanoleaf/nanoleaf/test_light.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.nanoleaf.nanoleaf.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/philips/hue/test_group.py b/tests/consumer/philips/hue/test_group.py index 29ca097..f4c5ecb 100644 --- a/tests/consumer/philips/hue/test_group.py +++ b/tests/consumer/philips/hue/test_group.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.philips.hue.group import process_groups MOCK = MagicMock() diff --git a/tests/consumer/philips/hue/test_light.py b/tests/consumer/philips/hue/test_light.py index 9bd017b..9be5f3d 100644 --- a/tests/consumer/philips/hue/test_light.py +++ b/tests/consumer/philips/hue/test_light.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.philips.hue.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/plantronics/status_indicator/test_device.py b/tests/consumer/plantronics/status_indicator/test_device.py index fdadda3..93d9ec5 100644 --- a/tests/consumer/plantronics/status_indicator/test_device.py +++ b/tests/consumer/plantronics/status_indicator/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.plantronics.status_indicator.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/razer/chroma/test_device.py b/tests/consumer/razer/chroma/test_device.py index e8f76dd..79d745a 100644 --- a/tests/consumer/razer/chroma/test_device.py +++ b/tests/consumer/razer/chroma/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.razer.chroma.device import process_devices MOCK = MagicMock() diff --git a/tests/consumer/signify/wiz/test_light.py b/tests/consumer/signify/wiz/test_light.py index 69bfc67..d7f519d 100644 --- a/tests/consumer/signify/wiz/test_light.py +++ b/tests/consumer/signify/wiz/test_light.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.signify.wiz.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/thingm/blink1/test_device.py b/tests/consumer/thingm/blink1/test_device.py index 0df36f2..0310749 100644 --- a/tests/consumer/thingm/blink1/test_device.py +++ b/tests/consumer/thingm/blink1/test_device.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.thingm.blink1.light import process_lights MOCK = MagicMock() diff --git a/tests/consumer/xiaomi/yeelight/test_light.py b/tests/consumer/xiaomi/yeelight/test_light.py index 53c1213..f8fd83b 100644 --- a/tests/consumer/xiaomi/yeelight/test_light.py +++ b/tests/consumer/xiaomi/yeelight/test_light.py @@ -1,6 +1,7 @@ -import pytest from unittest.mock import MagicMock +import pytest + from chroma_feedback.consumer.xiaomi.yeelight.light import process_lights MOCK = MagicMock() diff --git a/tests/producer/appveyor/appveyor/test_core.py b/tests/producer/appveyor/appveyor/test_core.py index ac83065..acdbafb 100644 --- a/tests/producer/appveyor/appveyor/test_core.py +++ b/tests/producer/appveyor/appveyor/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.appveyor import appveyor from chroma_feedback.typing import Status diff --git a/tests/producer/atlassian/bitbucket/test_core.py b/tests/producer/atlassian/bitbucket/test_core.py index 2162525..0820abe 100644 --- a/tests/producer/atlassian/bitbucket/test_core.py +++ b/tests/producer/atlassian/bitbucket/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.atlassian import bitbucket from chroma_feedback.typing import Status diff --git a/tests/producer/buddy/buddy/test_core.py b/tests/producer/buddy/buddy/test_core.py index df43161..425d7a1 100644 --- a/tests/producer/buddy/buddy/test_core.py +++ b/tests/producer/buddy/buddy/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.buddy import buddy from chroma_feedback.typing import Status diff --git a/tests/producer/circle/circle/test_core.py b/tests/producer/circle/circle/test_core.py index cf346c9..23935de 100644 --- a/tests/producer/circle/circle/test_core.py +++ b/tests/producer/circle/circle/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.circle import circle from chroma_feedback.typing import Status diff --git a/tests/producer/cloudbees/codeship/test_core.py b/tests/producer/cloudbees/codeship/test_core.py index 82345d6..0902c5d 100644 --- a/tests/producer/cloudbees/codeship/test_core.py +++ b/tests/producer/cloudbees/codeship/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.cloudbees import codeship from chroma_feedback.typing import Status diff --git a/tests/producer/gitlab/gitlab/test_core.py b/tests/producer/gitlab/gitlab/test_core.py index 98ab13b..dd61930 100644 --- a/tests/producer/gitlab/gitlab/test_core.py +++ b/tests/producer/gitlab/gitlab/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.gitlab import gitlab from chroma_feedback.typing import Status diff --git a/tests/producer/heroku/heroku/test_core.py b/tests/producer/heroku/heroku/test_core.py index f1ec743..6942140 100644 --- a/tests/producer/heroku/heroku/test_core.py +++ b/tests/producer/heroku/heroku/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.heroku import heroku from chroma_feedback.typing import Status diff --git a/tests/producer/jetbrains/teamcity/test_core.py b/tests/producer/jetbrains/teamcity/test_core.py index fa95b9e..97e1eb6 100644 --- a/tests/producer/jetbrains/teamcity/test_core.py +++ b/tests/producer/jetbrains/teamcity/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.jetbrains import teamcity from chroma_feedback.typing import Status diff --git a/tests/producer/microsoft/github/test_core.py b/tests/producer/microsoft/github/test_core.py index ba1d2d6..0905943 100644 --- a/tests/producer/microsoft/github/test_core.py +++ b/tests/producer/microsoft/github/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.microsoft import github from chroma_feedback.typing import Status diff --git a/tests/producer/netlify/netlify/test_core.py b/tests/producer/netlify/netlify/test_core.py index 64355e4..aa9c0dc 100644 --- a/tests/producer/netlify/netlify/test_core.py +++ b/tests/producer/netlify/netlify/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.netlify import netlify from chroma_feedback.typing import Status diff --git a/tests/producer/test_core.py b/tests/producer/test_core.py index 395295b..c4459d2 100644 --- a/tests/producer/test_core.py +++ b/tests/producer/test_core.py @@ -1,9 +1,10 @@ import os -import pytest import sys from argparse import ArgumentParser from typing import Any +import pytest + from chroma_feedback import producer diff --git a/tests/producer/travis/travis/test_core.py b/tests/producer/travis/travis/test_core.py index ea20f9b..a36b86a 100644 --- a/tests/producer/travis/travis/test_core.py +++ b/tests/producer/travis/travis/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.travis import travis from chroma_feedback.typing import Status diff --git a/tests/producer/uptimerobot/uptimerobot/test_core.py b/tests/producer/uptimerobot/uptimerobot/test_core.py index 9506170..fab8d87 100644 --- a/tests/producer/uptimerobot/uptimerobot/test_core.py +++ b/tests/producer/uptimerobot/uptimerobot/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.uptimerobot import uptimerobot from chroma_feedback.typing import Status diff --git a/tests/producer/vercel/vercel/test_core.py b/tests/producer/vercel/vercel/test_core.py index 98c75db..d87be33 100644 --- a/tests/producer/vercel/vercel/test_core.py +++ b/tests/producer/vercel/vercel/test_core.py @@ -1,8 +1,9 @@ -import pytest -import os import argparse +import os from typing import get_args +import pytest + from chroma_feedback.producer.vercel import vercel from chroma_feedback.typing import Status