Compare commits

..

4 commits

Author SHA1 Message Date
Kattni
a9e0c61575
Merge pull request #48 from adafruit/discord-fix
Should fix pylint issue
2020-07-09 15:42:59 -04:00
dherrada
59de0cd62e Formatted with black 2020-07-09 12:47:17 -04:00
dherrada
72338bc8a3 Should fix pylint issue 2020-07-09 12:38:07 -04:00
dherrada
057204ddd4 Fixed discord invite link 2020-07-08 16:49:04 -04:00
3 changed files with 5 additions and 2 deletions

View file

@ -7,7 +7,7 @@ Introduction
:alt: Documentation Status
.. image :: https://img.shields.io/discord/327254708534116352.svg
:target: https://discord.gg/nBQh6qu
:target: https://adafru.it/discord
:alt: Discord
.. image:: https://github.com/adafruit/Adafruit_CircuitPython_CharLCD/workflows/Build%20CI/badge.svg

View file

@ -52,6 +52,7 @@ from micropython import const
__version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CharLCD.git"
# pylint: disable-msg=bad-whitespace
# Commands
_LCD_CLEARDISPLAY = const(0x01)
_LCD_RETURNHOME = const(0x02)
@ -87,6 +88,8 @@ _LCD_5X8DOTS = const(0x00)
# Offset for up to 4 rows.
_LCD_ROW_OFFSETS = (0x00, 0x40, 0x14, 0x54)
# pylint: enable-msg=bad-whitespace
def _set_bit(byte_value, position, val):
# Given the specified byte_value set the bit at position to the provided

View file

@ -50,7 +50,7 @@ __version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CharLCD.git"
class Character_LCD_SPI(Character_LCD_Mono):
class Character_LCD_SPI(Character_LCD_Mono): # pylint: disable=too-few-public-methods
"""Character LCD connected to I2C/SPI backpack using its SPI connection.
This is a subclass of Character_LCD and implements all of the same
functions and functionality.