From 35b09690a1ff6479c5cac1ac76e442f7495031de Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Wed, 16 Apr 2014 16:49:54 -0400 Subject: [PATCH] STY: Conform indentation to current flake8 recommendation. The lines will be moved back when flake8, pyflakes, and pep8 are all upgraded to latest. --- zipline/finance/risk/cumulative.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zipline/finance/risk/cumulative.py b/zipline/finance/risk/cumulative.py index 7574360d..eb300828 100644 --- a/zipline/finance/risk/cumulative.py +++ b/zipline/finance/risk/cumulative.py @@ -206,7 +206,7 @@ class RiskMetricsCumulative(object): if len(self.algorithm_returns) == 1: self.algorithm_returns = pd.Series( {self.day_before_start: 0.0}).append( - self.algorithm_returns) + self.algorithm_returns) self.algorithm_cumulative_returns[dt] = \ self.calculate_cumulative_returns(self.algorithm_returns) @@ -230,7 +230,7 @@ class RiskMetricsCumulative(object): {self.day_before_start: 0.0}).append(self.mean_returns) self.annualized_mean_returns = pd.Series( {self.day_before_start: 0.0}).append( - self.annualized_mean_returns) + self.annualized_mean_returns) self.benchmark_returns_cont[dt] = benchmark_returns self.benchmark_returns = self.benchmark_returns_cont[:dt] @@ -239,7 +239,7 @@ class RiskMetricsCumulative(object): if len(self.benchmark_returns) == 1: self.benchmark_returns = pd.Series( {self.day_before_start: 0.0}).append( - self.benchmark_returns) + self.benchmark_returns) self.benchmark_cumulative_returns[dt] = \ self.calculate_cumulative_returns(self.benchmark_returns)