Skip to content

Commit 88ef369

Browse files
committed
Make black happy.
1 parent a6bb6ca commit 88ef369

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

adafruit_atecc/adafruit_atecc.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -134,20 +134,20 @@ def _convert_i2c_addr_to_atecc_addr(i2c_addr=0x60):
134134
"""
135135
CFG_TLS_HEX = bytes(
136136
bytearray.fromhex(
137-
'01 23 00 00 00 00 50 00 00 00 00 00 00 c0 71 00'
138-
'20 20 20 20 20 20 20 20 20 20 20 20 20 c0 00 55'
139-
'00 83 20 87 20 87 20 87 2f 87 2f 8f 8f 9f 8f af'
140-
'20 20 20 20 20 20 20 20 20 20 20 20 20 8f 00 00'
141-
'00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20'
142-
'20 20 20 20 20 20 20 20 20 af 8f ff ff ff ff 00'
143-
'00 00 00 ff ff ff ff 00 20 20 20 20 20 20 20 20'
144-
'20 20 20 20 20 00 00 00 ff ff ff ff ff ff ff ff'
145-
'ff ff ff ff 20 20 20 20 20 20 20 20 20 20 20 20'
146-
'20 ff ff ff ff 00 00 55 55 ff ff 00 00 00 00 00'
147-
'00 33 20 20 20 20 20 20 20 20 20 20 20 20 20 00'
148-
'33 00 33 00 33 00 33 00 1c 00 1c 00 1c 00 3c 00'
149-
'3c 00 3c 00 3c 20 20 20 20 20 20 20 20 20 20 20'
150-
'20 20 00 3c 00 3c 00 3c 00 1c 00'
137+
"01 23 00 00 00 00 50 00 00 00 00 00 00 c0 71 00"
138+
"20 20 20 20 20 20 20 20 20 20 20 20 20 c0 00 55"
139+
"00 83 20 87 20 87 20 87 2f 87 2f 8f 8f 9f 8f af"
140+
"20 20 20 20 20 20 20 20 20 20 20 20 20 8f 00 00"
141+
"00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20"
142+
"20 20 20 20 20 20 20 20 20 af 8f ff ff ff ff 00"
143+
"00 00 00 ff ff ff ff 00 20 20 20 20 20 20 20 20"
144+
"20 20 20 20 20 00 00 00 ff ff ff ff ff ff ff ff"
145+
"ff ff ff ff 20 20 20 20 20 20 20 20 20 20 20 20"
146+
"20 ff ff ff ff 00 00 55 55 ff ff 00 00 00 00 00"
147+
"00 33 20 20 20 20 20 20 20 20 20 20 20 20 20 00"
148+
"33 00 33 00 33 00 33 00 1c 00 1c 00 1c 00 3c 00"
149+
"3c 00 3c 00 3c 20 20 20 20 20 20 20 20 20 20 20"
150+
"20 20 00 3c 00 3c 00 3c 00 1c 00"
151151
)
152152
)
153153

@@ -319,7 +319,7 @@ def nonce(self, data, mode=0, zero=0x0000):
319319
time.sleep(1 / 1000)
320320
if mode == 0x03:
321321
assert (
322-
calculated_nonce[0] == 0x00
322+
calculated_nonce[0] == 0x00
323323
), "Incorrectly calculated nonce in pass-thru mode"
324324
self.idle()
325325
return calculated_nonce
@@ -489,7 +489,7 @@ def write_config(self, data):
489489
if i == 84:
490490
# can't write
491491
continue
492-
self._write(0, i // 4, data[i: i + 4])
492+
self._write(0, i // 4, data[i : i + 4])
493493

494494
def _write(self, zone, address, buffer):
495495
self.wakeup()

0 commit comments

Comments
 (0)