Skip to content

Commit

Permalink
Fix trailing whitespace and minor formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcooperdalrymple committed Sep 6, 2024
1 parent 86cbd8b commit 962a1a8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions adafruit_wm8960/advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ class Vmid_Mode:


class WOBit:

def __init__(
self,
register_address: int,
Expand Down Expand Up @@ -427,7 +426,6 @@ def __set__(self, obj: Optional[I2CDeviceDriver], value: bool) -> None:


class WOBits:

def __init__( # pylint: disable=too-many-arguments
self,
num_bits: int,
Expand Down Expand Up @@ -707,9 +705,9 @@ def mic_boost_gain(self) -> float:

@mic_boost_gain.setter
def mic_boost_gain(self, value: float) -> None:
self._left_mic_boost_gain = self._right_mic_boost_gain = (
WM8960_Advanced._get_mic_boost_gain(value)
)
self._left_mic_boost_gain = (
self._right_mic_boost_gain
) = WM8960_Advanced._get_mic_boost_gain(value)

## Volume

Expand Down Expand Up @@ -1293,7 +1291,7 @@ def alc_attack_time(self, value: float) -> None:
"""Whether or not the noise gate is enabled. The ALC, :attr:`alc`, must be set to `True` for
this functionality to work. This feature will help prevent "noise pumping" during periods of
quiet input signal. Only applicable to signal into the microphone amplifier.
:default: `False`
"""

Expand Down

0 comments on commit 962a1a8

Please sign in to comment.