Skip to content

Commit 4e9c123

Browse files
committed
still trying to disable the pylint check
1 parent d4483b0 commit 4e9c123

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Fruit_Jam/Fruit_Jam_PyPaint/code.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,8 @@ def _fill(self, x, y, c): # pylint: disable=too-many-branches,too-many-locals
640640
MARKER = 8 # Marker for filled areas
641641
print(f"Filling at ({x}, {y}) with color {c}")
642642

643-
if self._fg_bitmap[x, y] != c: # pylint: disable=disable=too-many-nested-blocks
643+
# pylint: disable=too-many-nested-blocks
644+
if self._fg_bitmap[x, y] != c:
644645
blank_color = self._fg_bitmap[x, y]
645646
self._fg_bitmap[x, y] = MARKER
646647
done = False
@@ -695,6 +696,8 @@ def _fill(self, x, y, c): # pylint: disable=too-many-branches,too-many-locals
695696
self._fg_bitmap[j, i] = c
696697

697698
self._poller.poke()
699+
# pylint: enable=too-many-nested-blocks
700+
698701

699702
def _handle_palette_selection(self, location):
700703
selected = location[1] // self._swatch_height

0 commit comments

Comments
 (0)