From f817b21d17cbc6854260088601fb6efdfa5976a8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 5 Apr 2025 18:14:20 +0200 Subject: [PATCH] chore: fix ruff --- tests/test_arguments.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/test_arguments.py b/tests/test_arguments.py index 88915a96c..913f4759d 100644 --- a/tests/test_arguments.py +++ b/tests/test_arguments.py @@ -7,16 +7,19 @@ import pytest from freqtrade.commands import Arguments, arguments from freqtrade.commands.cli_options import ( + AVAILABLE_CLI_OPTIONS, check_int_nonzero, check_int_positive, - AVAILABLE_CLI_OPTIONS, ) from tests.conftest import CURRENT_TEST_STRATEGY def test_available_cli_options(): - """AVAILABLE_CLI_OPTIONS has keys that are the union of the values in all ARGS_* - required by CLI""" - # each of the ARGS_* lists has a list of members which is assumed to also be in AVAILABLE_CLI_OPTIONS + """ + AVAILABLE_CLI_OPTIONS has keys that are the union of the values in all ARGS_* - required by CLI + each of the ARGS_* lists has a list of members which is assumed to also + be in AVAILABLE_CLI_OPTIONS + """ args_union = { arg for variable, value in vars(arguments).items() @@ -30,7 +33,8 @@ def test_available_cli_options(): pytest.fail( "variables around command line arguments not kept in sync:\n" f" * args only in some ARGS_* list but not AVAILABLE_CLI_OPTIONS: {only_in_all_args}\n" - f" * args only in AVAILABLE_CLI_OPTIONS but not some ARGS_* list: {only_in_command_args}" + " * args only in AVAILABLE_CLI_OPTIONS but not some ARGS_* list: " + f"{only_in_command_args}" )