From 5e2bd433d4df2a93935fe4d48684b9faed03b6a3 Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Sun, 31 Mar 2024 20:20:30 +0200 Subject: [PATCH] Fix ruff failures --- tests/integration_tests/test_direct_message_plugin.py | 2 +- tests/integration_tests/test_example_plugin.py | 2 +- tests/integration_tests/test_webhook_example.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration_tests/test_direct_message_plugin.py b/tests/integration_tests/test_direct_message_plugin.py index db73f5f6..c6e548b0 100644 --- a/tests/integration_tests/test_direct_message_plugin.py +++ b/tests/integration_tests/test_direct_message_plugin.py @@ -2,7 +2,7 @@ import time from string import ascii_letters -from .utils import start_bot # noqa, only imported so that the bot is started +from .utils import start_bot # noqa: F401, only imported so that the bot is started from .utils import MAIN_BOT_ID, OFF_TOPIC_ID, RESPONSE_TIMEOUT, TEAM_ID from .utils import driver as driver_fixture from .utils import expect_reply diff --git a/tests/integration_tests/test_example_plugin.py b/tests/integration_tests/test_example_plugin.py index 7ebf8891..e731ff9d 100644 --- a/tests/integration_tests/test_example_plugin.py +++ b/tests/integration_tests/test_example_plugin.py @@ -1,6 +1,6 @@ import time -from .utils import start_bot # noqa, only imported so that the bot is started +from .utils import start_bot # noqa: F401, only imported so that the bot is started from .utils import MAIN_BOT_ID, OFF_TOPIC_ID, RESPONSE_TIMEOUT, TEAM_ID from .utils import driver as driver_fixture from .utils import expect_reply diff --git a/tests/integration_tests/test_webhook_example.py b/tests/integration_tests/test_webhook_example.py index ebb0c4d8..338d3c34 100644 --- a/tests/integration_tests/test_webhook_example.py +++ b/tests/integration_tests/test_webhook_example.py @@ -1,7 +1,7 @@ import asyncio import time -from .utils import start_bot # noqa, only imported so that the bot is started +from .utils import start_bot # noqa: F401, only imported so that the bot is started from .utils import OFF_TOPIC_ID, RESPONSE_TIMEOUT from .utils import driver as driver_fixture from .utils import expect_reply