Fix minor stylistic errors

This commit is contained in:
Matthias 2023-02-22 20:58:24 +01:00
parent 659140e190
commit 34c42be74f
11 changed files with 3 additions and 4 deletions

0
freqtrade/__main__.py Normal file → Executable file
View File

0
freqtrade/commands/analyze_commands.py Executable file → Normal file
View File

0
freqtrade/commands/hyperopt_commands.py Executable file → Normal file
View File

0
freqtrade/data/entryexitanalysis.py Executable file → Normal file
View File

0
freqtrade/optimize/hyperopt_tools.py Executable file → Normal file
View File

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# QTPyLib: Quantitative Trading Python Library

0
freqtrade/worker.py Executable file → Normal file
View File

0
scripts/ws_client.py Normal file → Executable file
View File

0
tests/data/test_entryexitanalysis.py Executable file → Normal file
View File

View File

@ -309,7 +309,7 @@ def exchange(request, exchange_conf):
@pytest.fixture(params=EXCHANGES, scope="class")
def exchange_futures(request, exchange_conf, class_mocker):
if not EXCHANGES[request.param].get('futures') is True:
if EXCHANGES[request.param].get('futures') is not True:
yield None, request.param
else:
exchange_conf = set_test_proxy(

View File

@ -214,12 +214,12 @@ def test_ignore_expired_candle(default_conf):
current_time = latest_date + timedelta(seconds=30 + 300)
assert not strategy.ignore_expired_candle(
assert strategy.ignore_expired_candle(
latest_date=latest_date,
current_time=current_time,
timeframe_seconds=300,
enter=True
) is True
) is not True
def test_assert_df_raise(mocker, caplog, ohlcv_history):