Fix Flake8 errors after flake update

This commit is contained in:
Matthias
2022-08-01 06:43:59 +02:00
parent b4ded59c63
commit d75e0a9820
5 changed files with 9 additions and 9 deletions

View File

@@ -595,7 +595,7 @@ class Backtesting:
if exit_.exit_type in (ExitType.EXIT_SIGNAL, ExitType.CUSTOM_EXIT):
# Checks and adds an exit tag, after checking that the length of the
# row has the length for an exit tag column
if(
if (
len(row) > EXIT_TAG_IDX
and row[EXIT_TAG_IDX] is not None
and len(row[EXIT_TAG_IDX]) > 0