Skip to content

Commit c15610e

Browse files
committed
no, really, don't
1 parent 1aa1ccb commit c15610e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_as726x.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
# pylint: disable=too-many-public-methods
114114
# pylint: disable=invalid-name
115115
# pylint: disable=no-else-return
116+
# pylint: disable=inconsistent-return-statements
116117

117118

118119
class AS726x:
@@ -493,7 +494,6 @@ def _uart_xfer(self, cmd):
493494
return None
494495

495496
def _virtual_read(self, addr):
496-
# pylint: disable=inconsistent-return-statements
497497
if addr == _AS726X_HW_VERSION:
498498
# just return what is expected
499499
return 0x40
@@ -544,3 +544,4 @@ def _virtual_write(self, addr, value):
544544
# pylint: enable=too-many-public-methods
545545
# pylint: enable=invalid-name
546546
# pylint: enable=no-else-return
547+
# pylint: enable=inconsistent-return-statements

0 commit comments

Comments
 (0)