pylint tweaks
This commit is contained in:
parent
91413ce865
commit
ad672ff9d9
1 changed files with 5 additions and 5 deletions
|
|
@ -46,8 +46,9 @@ Implementation Notes
|
|||
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
|
||||
"""
|
||||
|
||||
#pylint:disable=too-many-public-methods,invalid-name,too-many-instance-attributes
|
||||
#pylint:disable=too-few-public-methods,too-many-lines
|
||||
#pylint:disable=too-many-public-methods,too-many-instance-attributes
|
||||
#pylint:disable=too-few-public-methods,too-many-lines,too-many-arguments
|
||||
#pylint:disable=no-self-use,invalid-name
|
||||
|
||||
import gc
|
||||
import math
|
||||
|
|
@ -363,7 +364,6 @@ class turtle(object):
|
|||
def _plot(self, x, y, c):
|
||||
try:
|
||||
self._fg_bitmap[int(x), int(y)] = c
|
||||
# self._logger.debug('Set fg_bitmap[%d, %d] to %d', x, y, self._fg_bitmap[int(x), int(y)])
|
||||
except IndexError:
|
||||
pass
|
||||
|
||||
|
|
@ -378,7 +378,7 @@ class turtle(object):
|
|||
|
||||
# pylint: disable=invalid-name, too-many-locals, too-many-branches
|
||||
def _helper(self, x0, y0, r, color, x_offset=0, y_offset=0,
|
||||
stroke=1, corner_flags=0x0F, fill=False):
|
||||
stroke=1, fill=False):
|
||||
"""Draw quandrant wedges filled or outlined"""
|
||||
f = 1 - r
|
||||
ddF_x = 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue