Skip to content

Commit 6aa1175

Browse files
committed
Removed unspecified-encoding disable
1 parent dde2ed7 commit 6aa1175

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

examples/featherwing_keyboard_featherwing.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@
2020
kbd_featherwing.neopixel[0] = 0x002244
2121

2222
try:
23-
with open( # pylint: disable=unspecified-encoding
24-
"/sd/tft_featherwing.txt", "w"
25-
) as f:
23+
with open("/sd/tft_featherwing.txt", "w") as f:
2624
f.write("Blinka\nBlackberry Q10 Keyboard")
2725

28-
with open( # pylint: disable=unspecified-encoding
29-
"/sd/tft_featherwing.txt", "r"
30-
) as f:
26+
with open("/sd/tft_featherwing.txt", "r") as f:
3127
print(f.read())
3228

3329
except OSError as error:

examples/featherwing_tft24_simpletest.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,10 @@
1313
tft_featherwing = tft_featherwing_24.TFTFeatherWing24()
1414

1515
try:
16-
with open( # pylint: disable=unspecified-encoding
17-
"/sd/tft_featherwing.txt", "w"
18-
) as f:
16+
with open("/sd/tft_featherwing.txt", "w") as f:
1917
f.write("Blinka\nBlackberry Q10 Keyboard")
2018

21-
with open( # pylint: disable=unspecified-encoding
22-
"/sd/tft_featherwing.txt", "r"
23-
) as f:
19+
with open("/sd/tft_featherwing.txt", "r") as f:
2420
print(f.read())
2521

2622
except OSError as error:

0 commit comments

Comments
 (0)