diff --git a/freqtrade/tests/test_analyze.py b/freqtrade/tests/test_analyze.py index 499e7522a..45b186ecb 100644 --- a/freqtrade/tests/test_analyze.py +++ b/freqtrade/tests/test_analyze.py @@ -1,4 +1,4 @@ -# pragma pylint: disable=missing-docstring +# pragma pylint: disable=missing-docstring,W0621 from datetime import datetime import json import pytest diff --git a/freqtrade/tests/test_backtesting.py b/freqtrade/tests/test_backtesting.py index e01c898c8..5c86107e4 100644 --- a/freqtrade/tests/test_backtesting.py +++ b/freqtrade/tests/test_backtesting.py @@ -1,4 +1,4 @@ -# pragma pylint: disable=missing-docstring +# pragma pylint: disable=missing-docstring,W0212 import logging diff --git a/freqtrade/tests/test_hyperopt.py b/freqtrade/tests/test_hyperopt.py index 843057394..b96c2680f 100644 --- a/freqtrade/tests/test_hyperopt.py +++ b/freqtrade/tests/test_hyperopt.py @@ -1,4 +1,4 @@ -# pragma pylint: disable=missing-docstring +# pragma pylint: disable=missing-docstring,W0212 import logging import os from functools import reduce @@ -21,6 +21,7 @@ logging.disable(logging.DEBUG) # disable debug logs that slow backtesting a lot # set TARGET_TRADES to suit your number concurrent trades so its realistic to 20days of data TARGET_TRADES = 1300 TOTAL_TRIES = 4 +# pylint: disable=C0103 current_tries = 0 @@ -90,6 +91,7 @@ def test_hyperopt(backtest_conf, mocker): trade_loss = 1 - 0.4 * exp(-(trade_count - TARGET_TRADES) ** 2 / 10 ** 5.2) profit_loss = max(0, 1 - total_profit / 15000) # max profit 15000 + # pylint: disable=W0603 global current_tries current_tries += 1 print('{}/{}: {}'.format(current_tries, TOTAL_TRIES, result)) diff --git a/freqtrade/tests/test_misc.py b/freqtrade/tests/test_misc.py index c26ce7cc5..35ebf0979 100644 --- a/freqtrade/tests/test_misc.py +++ b/freqtrade/tests/test_misc.py @@ -1,4 +1,4 @@ -# pragma pylint: disable=missing-docstring +# pragma pylint: disable=missing-docstring,C0103 import time import os from argparse import Namespace