46
46
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
47
47
"""
48
48
49
- #pylint:disable=too-many-public-methods,invalid-name,too-many-instance-attributes
50
- #pylint:disable=too-few-public-methods,too-many-lines
49
+ #pylint:disable=too-many-public-methods,too-many-instance-attributes
50
+ #pylint:disable=too-few-public-methods,too-many-lines,too-many-arguments
51
+ #pylint:disable=no-self-use,invalid-name
51
52
52
53
import gc
53
54
import math
@@ -363,7 +364,6 @@ def home(self):
363
364
def _plot (self , x , y , c ):
364
365
try :
365
366
self ._fg_bitmap [int (x ), int (y )] = c
366
- # self._logger.debug('Set fg_bitmap[%d, %d] to %d', x, y, self._fg_bitmap[int(x), int(y)])
367
367
except IndexError :
368
368
pass
369
369
@@ -378,7 +378,7 @@ def _draw_disk(self, x, y, width, height, r, color, fill=True, outline=True, str
378
378
379
379
# pylint: disable=invalid-name, too-many-locals, too-many-branches
380
380
def _helper (self , x0 , y0 , r , color , x_offset = 0 , y_offset = 0 ,
381
- stroke = 1 , corner_flags = 0x0F , fill = False ):
381
+ stroke = 1 , fill = False ):
382
382
"""Draw quandrant wedges filled or outlined"""
383
383
f = 1 - r
384
384
ddF_x = 1
@@ -457,7 +457,7 @@ def dot(self, size=None, color=None):
457
457
color = self ._color_to_pencolor (color )
458
458
self ._logger .debug ('dot(%d)' , size )
459
459
self ._draw_disk (self ._x - size , self ._y - size , 2 * size + 1 , 2 * size + 1 , size , color )
460
- self ._fg_sprite [0 ,0 ] = 0
460
+ self ._fg_sprite [0 , 0 ] = 0
461
461
462
462
def stamp (self ):
463
463
"""Not implemented
0 commit comments