Skip to content

Commit 9256858

Browse files
authored
tiny pylint tweaks
1 parent 31b40af commit 9256858

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CPB_Quick_Draw_Duo/reaction.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# in response to alternate first NeoPixel and beeps from onboard speaker,
66
# prints times and statistics in Mu friendly format.
77

8+
import os
89
import time
910
import math
1011
import random
@@ -13,7 +14,6 @@
1314
import board
1415
import digitalio
1516
import analogio
16-
import os
1717

1818
# This code works on both CPB and CPX boards by bringing
1919
# in classes with same name
@@ -129,11 +129,11 @@ def update_stats(stats, test_type, test_num, duration):
129129
stats[test_type]["mean"], stats[test_type]["sd_sample"])
130130

131131
run = 1
132-
statistics = {"visual": {"values": [], "sum": 0.0, "mean": 0.0,
132+
statistics = {"visual": {"values": [], "sum": 0.0, "mean": 0.0,
133133
"sd_sample": 0.0},
134-
"auditory": {"values": [], "sum": 0.0, "mean": 0.0,
134+
"auditory": {"values": [], "sum": 0.0, "mean": 0.0,
135135
"sd_sample": 0.0},
136-
"tactile": {"values": [], "sum": 0.0, "mean": 0.0,
136+
"tactile": {"values": [], "sum": 0.0, "mean": 0.0,
137137
"sd_sample": 0.0}}
138138

139139
print("# Trialnumber, time, mean, standarddeviation")

0 commit comments

Comments
 (0)