Skip to content

Commit cd1c6be

Browse files
committed
try lint again!
1 parent 2bc3144 commit cd1c6be

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

adafruit_framebuf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,9 @@ def rect(self, x, y, width, height, color, *, fill=False):
230230
width, height = height, width
231231
y = self.height - y - height
232232

233-
if width < 1 or height < 1 or (x + width) <= 0 or (y + height) <= 0 or y >= self.height \
234-
or x >= self.width: # pylint: disable=too-many-boolean-expressions
233+
# pylint: disable=too-many-boolean-expressions
234+
if width < 1 or height < 1 or (x + width) <= 0 or (y + height) <= 0 or \
235+
y >= self.height or x >= self.width:
235236
return
236237
x_end = min(self.width-1, x + width-1)
237238
y_end = min(self.height-1, y + height-1)

0 commit comments

Comments
 (0)