From 82b6fc6b7b593e2d59b64d76d5ea9928b8592d10 Mon Sep 17 00:00:00 2001 From: Juan Pablo Amoroso Date: Fri, 20 Mar 2020 13:24:47 -0300 Subject: [PATCH] Flake8 changes: - Ignore error W504 (break line on operator) - Ignore unused import in stats.py (used for pandas query) --- backtester/statistics/stats.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backtester/statistics/stats.py b/backtester/statistics/stats.py index 5f2dbfb..4ce207c 100644 --- a/backtester/statistics/stats.py +++ b/backtester/statistics/stats.py @@ -1,7 +1,7 @@ import pandas as pd import numpy as np -from ..enums import Order +from ..enums import Order # noqa: F401 def summary(trade_log, balance): diff --git a/setup.cfg b/setup.cfg index db51413..0c7ac7a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [flake8] max-line-length = 119 -ignore = E126,F403,F405 +ignore = E126,F403,F405,W504 [yapf] based_on_style = pep8