Skip to content

Commit

Permalink
Merge pull request #46 from adafruit/not-using-with
Browse files Browse the repository at this point in the history
disable a pylint diagnostic
  • Loading branch information
evaherrada authored Oct 26, 2021
2 parents 0e3fd0c + 9a63cba commit 02b4b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/esp_atcontrol_countviewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
if PLAY_SOUND_ON_CHANGE:
import audioio

wave_file = open("coin.wav", "rb")
wave_file = open("coin.wav", "rb") # pylint: disable=consider-using-with
wave = audioio.WaveFile(wave_file)

# we'll save the value in question
Expand Down

0 comments on commit 02b4b2b

Please sign in to comment.