From 0574a406934d1abd081f4910097d0704a34c1b16 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2020 05:41:39 +0000 Subject: [PATCH 1/2] Bump questionary from 1.5.2 to 1.6.0 Bumps [questionary](https://github.com/tmbo/questionary) from 1.5.2 to 1.6.0. - [Release notes](https://github.com/tmbo/questionary/releases) - [Commits](https://github.com/tmbo/questionary/compare/1.5.2...1.6.0) Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7f1a3dabe..0a5f3581d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -34,5 +34,5 @@ flask-cors==3.0.9 # Support for colorized terminal output colorama==0.4.3 # Building config files interactively -questionary==1.5.2 +questionary==1.6.0 prompt-toolkit==3.0.7 From b86a602ad446d1753b1fbec843d3cf54ed78c14e Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 5 Oct 2020 16:17:37 +0200 Subject: [PATCH 2/2] Update typehint --- freqtrade/commands/build_config_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/commands/build_config_commands.py b/freqtrade/commands/build_config_commands.py index 79256db1d..7bdbcc057 100644 --- a/freqtrade/commands/build_config_commands.py +++ b/freqtrade/commands/build_config_commands.py @@ -1,6 +1,6 @@ import logging from pathlib import Path -from typing import Any, Dict +from typing import Any, Dict, List from questionary import Separator, prompt @@ -48,7 +48,7 @@ def ask_user_config() -> Dict[str, Any]: Interactive questions built using https://github.com/tmbo/questionary :returns: Dict with keys to put into template """ - questions = [ + questions: List[Dict[str, Any]] = [ { "type": "confirm", "name": "dry_run",