@@ -327,27 +327,29 @@ def set_backlight(self, val):
327327 board .DISPLAY .brightness = val
328328
329329 def preload_font (self , glyphs = None ):
330+ # pylint: disable=line-too-long
330331 """Preload font.
331332
332- :param glyphs: The font glyphs to load. Defaults to ``None``,
333- uses alphanumeric glyphs if None.
333+ :param glyphs: The font glyphs to load. Defaults to ``None``, uses alphanumeric glyphs if None.
334334
335335 """
336+ # pylint: enable=line-too-long
336337 if not glyphs :
337338 glyphs = b'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-!,. "\' ?!'
338339 print ("Preloading font glyphs:" , glyphs )
339340 if self ._text_font :
340341 self ._text_font .load_glyphs (glyphs )
341342
342343 def set_caption (self , caption_text , caption_position , caption_color ):
344+ # pylint: disable=line-too-long
343345 """A caption. Requires setting ``caption_font`` in init!
344346
345347 :param caption_text: The text of the caption.
346348 :param caption_position: The position of the caption text.
347- :param caption_color: The color of your caption text. Must be a hex value,
348- e.g. ``0x808000``.
349+ :param caption_color: The color of your caption text. Must be a hex value, e.g. ``0x808000``.
349350
350351 """
352+ # pylint: enable=line-too-long
351353 if self ._debug :
352354 print ("Setting caption to" , caption_text )
353355
@@ -438,12 +440,13 @@ def _json_traverse(json, path):
438440 return value
439441
440442 def get_local_time (self , location = None ):
441- """Fetch and "set" the local time of this microcontroller to the local
442- time at the location, using an internet time API.
443+ # pylint: disable=line-too-long
444+ """Fetch and "set" the local time of this microcontroller to the local time at the location, using an internet time API.
443445
444446 :param str location: Your city and country, e.g. ``"New York, US"``.
445447
446448 """
449+ # pylint: enable=line-too-long
447450 self ._connect_esp ()
448451 api_url = None
449452 if not location :
0 commit comments