Turn off some warnings
@@ -32,6 +32,7 @@ lidar = RPLidar(PORT_NAME)
# used to scale data to fit on the screen
max_distance = 0
+#pylint: disable=redefined-outer-name,global-statement
def process_data(data):
global max_distance
lcd.fill((0,0,0))
