Skip to content

Commit 054e7c4

Browse files
committed
remove pylint disables, add license comment
1 parent 4d2c3e1 commit 054e7c4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Fruit_Jam/Fruit_Jam_Startups/GameBoy_Startup/code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2025 Tim Cocks for Adafruit Industries
2+
# SPDX-License-Identifier: MIT
13
import time
24
from audiocore import WaveFile
35
import audiobusio
@@ -24,9 +26,7 @@
2426
# dac.speaker_output = True
2527
# dac.speaker_volume = -15 # dB
2628

27-
wave_file = open( # pylint: disable=consider-using-with
28-
"gameboy_startup/gameboy_pling.wav", "rb"
29-
)
29+
wave_file = open("gameboy_startup/gameboy_pling.wav", "rb")
3030
wave = WaveFile(wave_file)
3131
audio = audiobusio.I2SOut(board.I2S_BCLK, board.I2S_WS, board.I2S_DIN)
3232

Fruit_Jam/Fruit_Jam_Startups/Mac_Startup/code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2025 Tim Cocks for Adafruit Industries
2+
# SPDX-License-Identifier: MIT
13
import time
24
from audiocore import WaveFile
35
import audiobusio
@@ -24,9 +26,7 @@
2426
# dac.speaker_volume = -15 # dB
2527

2628
# Chime audio setup
27-
wave_file = open( # pylint: disable=consider-using-with
28-
"mac_startup/mac_chime.wav", "rb"
29-
)
29+
wave_file = open("mac_startup/mac_chime.wav", "rb")
3030
wave = WaveFile(wave_file)
3131
audio = audiobusio.I2SOut(board.I2S_BCLK, board.I2S_WS, board.I2S_DIN)
3232

0 commit comments

Comments
 (0)