Commit 0eef868
authored
Correct lint issues
Feather_Freezer_Alarm/code.py:180: Unnecessary parens after 'if' keyword (superfluous-parens)
Feather_Freezer_Alarm/code.py:252: Unnecessary parens after 'if' keyword (superfluous-parens)
Feather_Freezer_Alarm/code.py:79: Unused argument 'client' (unused-argument)
Feather_Freezer_Alarm/code.py:180: Comparison 'prealarm == True' should be 'prealarm is True' if checking for the singleton value True, or 'prealarm' if testing for truthiness (singleton-comparison)
Feather_Freezer_Alarm/code.py:197: Comparison 'alarm1 == False' should be 'alarm1 is False' if checking for the singleton value False, or 'not alarm1' if testing for falsiness (singleton-comparison)
Feather_Freezer_Alarm/code.py:197: Comparison 'alarm2 == False' should be 'alarm2 is False' if checking for the singleton value False, or 'not alarm2' if testing for falsiness (singleton-comparison)
Feather_Freezer_Alarm/code.py:197: Comparison 'prealarm == False' should be 'prealarm is False' if checking for the singleton value False, or 'not prealarm' if testing for falsiness (singleton-comparison)
Feather_Freezer_Alarm/code.py:236: Comparison 'alarm1 == False' should be 'alarm1 is False' if checking for the singleton value False, or 'not alarm1' if testing for falsiness (singleton-comparison)
Feather_Freezer_Alarm/code.py:243: Comparison 'alarm2 == False' should be 'alarm2 is False' if checking for the singleton value False, or 'not alarm2' if testing for falsiness (singleton-comparison)
Feather_Freezer_Alarm/code.py:11: Unused import neopixel (unused-import)
Feather_Freezer_Alarm/code.py:16: Unused import supervisor (unused-import)1 parent 0e9cf83 commit 0eef868
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
79 | | - | |
| 77 | + | |
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
| |||
177 | 175 | | |
178 | 176 | | |
179 | 177 | | |
180 | | - | |
| 178 | + | |
181 | 179 | | |
182 | 180 | | |
183 | 181 | | |
| |||
194 | 192 | | |
195 | 193 | | |
196 | 194 | | |
197 | | - | |
| 195 | + | |
198 | 196 | | |
199 | 197 | | |
200 | 198 | | |
| |||
233 | 231 | | |
234 | 232 | | |
235 | 233 | | |
236 | | - | |
| 234 | + | |
237 | 235 | | |
238 | 236 | | |
239 | 237 | | |
240 | 238 | | |
241 | 239 | | |
242 | 240 | | |
243 | | - | |
| 241 | + | |
244 | 242 | | |
245 | 243 | | |
246 | 244 | | |
| |||
249 | 247 | | |
250 | 248 | | |
251 | 249 | | |
252 | | - | |
| 250 | + | |
253 | 251 | | |
254 | 252 | | |
255 | 253 | | |
| |||
0 commit comments