Skip to content

Commit d9fc22e

Browse files
bowiechenmeta-codesync[bot]
authored andcommitted
apply Black 25.11.0 style in fbobjc (79/92)
Summary: Formats the covered files with pyfmt. paintitblack Reviewed By: itamaro Differential Revision: D90476254 fbshipit-source-id: 56f6c63f22af21bef3db0c736381921d24fd3116
1 parent fdbf067 commit d9fc22e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

commands/FBDisplayCommands.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ def setBorder(layer, width, color, colorClass):
117117
setBorder(layer, options.width, color, colorClassName)
118118
else:
119119
# `obj` is not a view, make sure recursive bordering is not requested
120-
assert (
121-
depth <= 0
122-
), "Recursive bordering is only supported for UIViews or NSViews"
120+
assert depth <= 0, (
121+
"Recursive bordering is only supported for UIViews or NSViews"
122+
)
123123
layer = viewHelpers.convertToLayer(obj)
124124
setBorder(layer, options.width, color, colorClassName)
125125

@@ -172,9 +172,9 @@ def setUnborder(layer):
172172
setUnborder(layer)
173173
else:
174174
# `obj` is not a view, make sure recursive unbordering is not requested
175-
assert (
176-
depth <= 0
177-
), "Recursive unbordering is only supported for UIViews or NSViews"
175+
assert depth <= 0, (
176+
"Recursive unbordering is only supported for UIViews or NSViews"
177+
)
178178
layer = viewHelpers.convertToLayer(obj)
179179
setUnborder(layer)
180180

0 commit comments

Comments
 (0)