Skip to content

Commit b504fd9

Browse files
committed
Black reformatting
1 parent 10c66ff commit b504fd9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/sasctl/pzmm/write_score_code.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,8 +1018,9 @@ def _binary_target(
10181018
"score code should output the classification and probability for "
10191019
"the target event to occur."
10201020
)
1021-
cls.score_code += f"{'':4}return prediction[1][0], " \
1022-
f"float(prediction[1][2])"
1021+
cls.score_code += (
1022+
f"{'':4}return prediction[1][0], " f"float(prediction[1][2])"
1023+
)
10231024
# Calculate the classification; return the classification and probability
10241025
elif sum(returns) == 0 and len(returns) == 1:
10251026
warn(

0 commit comments

Comments
 (0)