Fix pylint diagnostics

This commit is contained in:
Jeff Epler 2020-11-04 09:49:43 -06:00
parent e8dd669c64
commit 096c690f07
4 changed files with 10 additions and 7 deletions

View file

@ -1,7 +1,8 @@
import struct
import board
import canio
import digitalio
import struct
# If the CAN transceiver has a standby pin, bring it out of standby mode
if hasattr(board, 'CAN_STANDBY'):
@ -44,4 +45,3 @@ while True:
print("Sending ACK")
can.send(canio.Message(id=0x409, data=struct.pack("<I", count)))

View file

@ -1,7 +1,8 @@
import struct
import board
import canio
import digitalio
import struct
# If the CAN transceiver has a standby pin, bring it out of standby mode
if hasattr(board, 'CAN_STANDBY'):

View file

@ -1,8 +1,9 @@
import struct
import time
import board
import canio
import digitalio
import struct
import time
# If the CAN transceiver has a standby pin, bring it out of standby mode
if hasattr(board, 'CAN_STANDBY'):

View file

@ -1,8 +1,9 @@
import struct
import time
import board
import canio
import digitalio
import struct
import time
# If the CAN transceiver has a standby pin, bring it out of standby mode
if hasattr(board, 'CAN_STANDBY'):