From cb2fff89095d1f3102d4517239483837f6c15792 Mon Sep 17 00:00:00 2001 From: Samuel Husso Date: Sat, 28 Jul 2018 22:06:26 +0300 Subject: [PATCH] mypy doesn't handle common idiomacy so disable the line (see the open issue more details) --- freqtrade/optimize/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/optimize/__init__.py b/freqtrade/optimize/__init__.py index 5aa47725d..5c1bd06ab 100644 --- a/freqtrade/optimize/__init__.py +++ b/freqtrade/optimize/__init__.py @@ -4,7 +4,8 @@ import gzip try: import ujson as json except ImportError: - import json + # see mypy/issues/1153 + import json # type: ignore import inspect import logging import os