Skip to content

Commit 42b04e9

Browse files
committed
QA: Apply codespell suggestions.
1 parent 4e5ca10 commit 42b04e9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

as7262/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Library for the AS7262 Visble Light Spectral Sensor."""
1+
"""Library for the AS7262 Visible Light Spectral Sensor."""
22
import struct
33
import time
44

@@ -12,7 +12,7 @@ class as7262VirtualRegisterBus():
1212
"""AS7262 Virtual Register.
1313
1414
This class implements the wacky virtual register setup
15-
of the AS7262 annd allows i2cdevice.Device to "just work"
15+
of the AS7262 and allows i2cdevice.Device to "just work"
1616
without having to worry about how registers are actually
1717
read or written under the hood.
1818

as7262/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Library for the AS7262 Visble Light Spectral Sensor."""
1+
"""Library for the AS7262 Viisble Light Spectral Sensor."""
22
import as7262
33

44
if __name__ == '__main__':

tests/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(self, i2c_bus):
4949
self.status = 0b01 # Fake status register
5050
self.ptr = None # Fake register pointer
5151

52-
# Virtual registers, thes contain the data actually used
52+
# Virtual registers, these contain the data actually used
5353
self.regs[0x00] = 0x88 # Fake HW type
5454
self.regs[0x01] = 0x77 # Fake HW version
5555
self.regs[0x02] = 0xFE # Fake FW version MSB (Sub, Minor)

0 commit comments

Comments
 (0)