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