Skip to content

Commit 32016ff

Browse files
committed
fix: apply black formatting to vectorized.py
- Fix code formatting to pass CI/CD black check - All tests still pass after formatting
1 parent 6b7f0f1 commit 32016ff

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
Binary file not shown.

src/quant_research_starter/backtest/vectorized.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def run(self, weight_scheme: str = "rank") -> Dict:
9494
rebalance_mask_df = pd.DataFrame(
9595
np.tile(rebalance_mask.values.reshape(-1, 1), (1, len(weights.columns))),
9696
index=weights.index,
97-
columns=weights.columns
97+
columns=weights.columns,
9898
)
9999
weights = weights.where(rebalance_mask_df, weights.shift(1).fillna(0.0))
100100

0 commit comments

Comments
 (0)