trailing whitespace
857 for every drawdown period
858 """
859
860 def _drawdown_details(drawdown): 861 # mark no drawdown
862 no_dd = drawdown == 0
863
trailing whitespace
1067 )
1068 metrics["Win Days %%"] = _stats.win_rate(df, prepare_returns=False) * pct
1069 metrics["Win Month %%"] = (
1070 _stats.win_rate(df, 1071 compounded=compounded,
1072 aggregate="M",
1073 prepare_returns=False) * pct
trailing whitespace
1054 if mode.lower() == "full":
1055 metrics["~~~~~"] = blank
1056 metrics["Avg. Up Month %"] = (
1057 _stats.avg_win(df, 1058 compounded=compounded,
1059 aggregate="M",
1060 prepare_returns=False) * pct
Description
There should be no whitespace after the final character in a line.