Skip to content

Commit 03e89d3

Browse files
authoredMay 15, 2021
Merge pull request #308 from jpmorganchase/tkp/lint
fix new black lint error
2 parents 2985ff0 + 1b88dfe commit 03e89d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎bt/algos.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2297,13 +2297,13 @@ def __init__(self, measure, history=0):
22972297
self.history = history
22982298

22992299
def _setup_risk(self, target, set_history):
2300-
""" Setup risk attributes on the node in question """
2300+
"""Setup risk attributes on the node in question"""
23012301
target.risk = {}
23022302
if set_history:
23032303
target.risks = pd.DataFrame(index=target.data.index)
23042304

23052305
def _setup_measure(self, target, set_history):
2306-
""" Setup a risk measure within the risk attributes on the node in question """
2306+
"""Setup a risk measure within the risk attributes on the node in question"""
23072307
target.risk[self.measure] = np.NaN
23082308
if set_history:
23092309
target.risks[self.measure] = np.NaN

0 commit comments

Comments
 (0)