Apply black reformatting suggestions
parent
5854f568fe
commit
07759149d6
|
@ -1,4 +1,3 @@
|
|||
|
||||
from collections import namedtuple
|
||||
|
||||
from mopidy import config
|
||||
|
@ -15,7 +14,9 @@ class ValidList(list):
|
|||
class PinConfig(config.ConfigValue):
|
||||
tuple_pinconfig = namedtuple("PinConfig", ("event", "active", "bouncetime"))
|
||||
|
||||
valid_events = ValidList(["play_pause", "prev", "next", "volume_up", "volume_down"])
|
||||
valid_events = ValidList(
|
||||
["play_pause", "prev", "next", "volume_up", "volume_down"]
|
||||
)
|
||||
|
||||
valid_modes = ValidList(["active_low", "active_high"])
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ dummy_config = {
|
|||
# Plugins expect settings to be deserialized
|
||||
"bcm1": deserialize("play_pause,active_low,30"),
|
||||
"bcm2": deserialize("volume_up,active_high,30"),
|
||||
"bcm3": deserialize("volume_down,active_high,30")
|
||||
"bcm3": deserialize("volume_down,active_high,30"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue