From: Melissa LeBlanc-Williams Date: Thu, 10 Feb 2022 17:51:01 +0000 (-0800) Subject: Run black X-Git-Tag: 6.20.2^2~1 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/6559c3d5c8bbd295fd5c420c3e69073ad16b034e Run black --- diff --git a/src/adafruit_blinka/microcontroller/generic_micropython/i2c.py b/src/adafruit_blinka/microcontroller/generic_micropython/i2c.py index 3ace77a..20e5f9e 100755 --- a/src/adafruit_blinka/microcontroller/generic_micropython/i2c.py +++ b/src/adafruit_blinka/microcontroller/generic_micropython/i2c.py @@ -33,7 +33,7 @@ class I2C: out_end=None, in_start=0, in_end=None, - stop=False + stop=False, ): """Write data from buffer_out to an address and then read data from an address and into buffer_in diff --git a/src/adafruit_blinka/microcontroller/rp2040/i2c.py b/src/adafruit_blinka/microcontroller/rp2040/i2c.py index 2a6c6a0..4635b3f 100644 --- a/src/adafruit_blinka/microcontroller/rp2040/i2c.py +++ b/src/adafruit_blinka/microcontroller/rp2040/i2c.py @@ -46,7 +46,7 @@ class I2C: out_end=None, in_start=0, in_end=None, - stop=False + stop=False, ): """Write data from buffer_out to an address and then read data from an address and into buffer_in diff --git a/src/adafruit_blinka/microcontroller/rp2040_u2if/i2c.py b/src/adafruit_blinka/microcontroller/rp2040_u2if/i2c.py index 0cfcc05..19d155b 100644 --- a/src/adafruit_blinka/microcontroller/rp2040_u2if/i2c.py +++ b/src/adafruit_blinka/microcontroller/rp2040_u2if/i2c.py @@ -36,7 +36,7 @@ class I2C: out_end=None, in_start=0, in_end=None, - stop=False + stop=False, ): """Write data from buffer_out to an address and then read data from an address and into buffer_in diff --git a/src/adafruit_blinka/microcontroller/rp2040_u2if/rp2040_u2if.py b/src/adafruit_blinka/microcontroller/rp2040_u2if/rp2040_u2if.py index 6431f94..b7acaf0 100644 --- a/src/adafruit_blinka/microcontroller/rp2040_u2if/rp2040_u2if.py +++ b/src/adafruit_blinka/microcontroller/rp2040_u2if/rp2040_u2if.py @@ -272,7 +272,7 @@ class RP2040_u2if: out_start=0, out_end=None, in_start=0, - in_end=None + in_end=None, ): """Write data from buffer_out to an address and then read data from an address and into buffer_in @@ -365,7 +365,7 @@ class RP2040_u2if: out_start=0, out_end=None, in_start=0, - in_end=None + in_end=None, ): """SPI write and readinto.""" raise NotImplementedError("SPI write_readinto Not implemented") diff --git a/src/keypad.py b/src/keypad.py index a156d6e..df31541 100644 --- a/src/keypad.py +++ b/src/keypad.py @@ -384,7 +384,7 @@ class ShiftRegisterKeys(_KeysBase): key_count, value_when_pressed, interval=0.02, - max_events=64 + max_events=64, ): """ Create a `Keys` object that will scan keys attached to a parallel-in serial-out