Skip to content

Commit 3a4b2b3

Browse files
committed
Fixed linting error. Blackened.
1 parent 74b8dd3 commit 3a4b2b3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

adafruit_circuitplayground/circuit_playground_base.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
__version__ = "0.0.0-auto.0"
3737
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground.git"
3838

39+
3940
class Photocell:
4041
"""Simple driver for analog photocell on the Circuit Playground Express and Bluefruit."""
4142

@@ -722,7 +723,9 @@ def play_tone(self, frequency, duration, waveform=SINE_WAVE):
722723
723724
:param int frequency: The frequency of the tone in Hz
724725
:param float duration: The duration of the tone in seconds
725-
:param str waveform: Type of waveform to be generated [SINE_WAVE, SQUARE_WAVE]. Default = SINE_WAVE.
726+
:param str waveform: Type of waveform to be generated [SINE_WAVE, SQUARE_WAVE].
727+
728+
Default is SINE_WAVE.
726729
727730
.. image :: ../docs/_static/speaker.jpg
728731
:alt: Onboard speaker
@@ -745,7 +748,9 @@ def start_tone(self, frequency, waveform=SINE_WAVE):
745748
the pitch of the tone.
746749
747750
:param int frequency: The frequency of the tone in Hz
748-
:param str waveform: Type of waveform to be generated [SINE_WAVE, SQUARE_WAVE]. Default = SINE_WAVE.
751+
:param str waveform: Type of waveform to be generated [SINE_WAVE, SQUARE_WAVE].
752+
753+
Default is SINE_WAVE.
749754
750755
.. image :: ../docs/_static/speaker.jpg
751756
:alt: Onboard speaker

0 commit comments

Comments
 (0)