From e3c5a4b3fc8b1e33eca8c3313d42889e20bf8b0b Mon Sep 17 00:00:00 2001 From: Gonzalo Matheu Date: Wed, 14 Apr 2021 18:20:10 -0300 Subject: [PATCH] telegram: Formatting imports --- freqtrade/rpc/telegram.py | 8 +++----- tests/rpc/test_rpc_telegram.py | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index 52cd7a5ed..8a25fc61f 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -12,12 +12,10 @@ from typing import Any, Callable, Dict, List, Union import arrow from tabulate import tabulate -from telegram import ( - KeyboardButton, ParseMode, ReplyKeyboardMarkup, - Update, InlineKeyboardMarkup, InlineKeyboardButton - ) +from telegram import (InlineKeyboardButton, InlineKeyboardMarkup, KeyboardButton, ParseMode, + ReplyKeyboardMarkup, Update) from telegram.error import NetworkError, TelegramError -from telegram.ext import CallbackContext, CommandHandler, Updater, CallbackQueryHandler +from telegram.ext import CallbackContext, CallbackQueryHandler, CommandHandler, Updater from telegram.utils.helpers import escape_markdown from freqtrade.__init__ import __version__ diff --git a/tests/rpc/test_rpc_telegram.py b/tests/rpc/test_rpc_telegram.py index c80709ac1..a3147f956 100644 --- a/tests/rpc/test_rpc_telegram.py +++ b/tests/rpc/test_rpc_telegram.py @@ -4,9 +4,9 @@ import re from datetime import datetime +from functools import reduce from random import choice, randint from string import ascii_uppercase -from functools import reduce from unittest.mock import ANY, MagicMock import arrow