]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Run black
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Thu, 10 Feb 2022 17:51:01 +0000 (09:51 -0800)
committerMelissa LeBlanc-Williams <melissa@adafruit.com>
Thu, 10 Feb 2022 17:51:01 +0000 (09:51 -0800)
src/adafruit_blinka/microcontroller/generic_micropython/i2c.py
src/adafruit_blinka/microcontroller/rp2040/i2c.py
src/adafruit_blinka/microcontroller/rp2040_u2if/i2c.py
src/adafruit_blinka/microcontroller/rp2040_u2if/rp2040_u2if.py
src/keypad.py

index 3ace77a66ee710f9ce88e5e51b372224ad94045d..20e5f9ea7b5097179a08f03186f8dd0299d8a585 100755 (executable)
@@ -33,7 +33,7 @@ class I2C:
         out_end=None,
         in_start=0,
         in_end=None,
         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
     ):
         """Write data from buffer_out to an address and then
         read data from an address and into buffer_in
index 2a6c6a0dd277057aa68395bef5f1a34f5be293c9..4635b3fb8d8d955d646febadde34dcd31d294837 100644 (file)
@@ -46,7 +46,7 @@ class I2C:
         out_end=None,
         in_start=0,
         in_end=None,
         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
     ):
         """Write data from buffer_out to an address and then
         read data from an address and into buffer_in
index 0cfcc05d8c7f17825dfaa7d094ef8c54ac92a93f..19d155b8dde4e8e2ed452b68a3a300b79a879efa 100644 (file)
@@ -36,7 +36,7 @@ class I2C:
         out_end=None,
         in_start=0,
         in_end=None,
         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
     ):
         """Write data from buffer_out to an address and then
         read data from an address and into buffer_in
index 6431f94482f0906b5aabf24856af74e8df9ed16a..b7acaf0e15ca84429274f6520826eee44af85666 100644 (file)
@@ -272,7 +272,7 @@ class RP2040_u2if:
         out_start=0,
         out_end=None,
         in_start=0,
         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
     ):
         """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,
         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")
     ):
         """SPI write and readinto."""
         raise NotImplementedError("SPI write_readinto Not implemented")
index a156d6e5add4fd0b951ca880d5e33b3618811292..df3154140b9c3d0bc7391869733c2d24b4b630f3 100644 (file)
@@ -384,7 +384,7 @@ class ShiftRegisterKeys(_KeysBase):
         key_count,
         value_when_pressed,
         interval=0.02,
         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
     ):
         """
         Create a `Keys` object that will scan keys attached to a parallel-in serial-out