Blacked the code

This commit is contained in:
Eliot Berriot 2018-06-09 15:36:16 +02:00
parent b6fc0051fa
commit 62ca3bd736
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
279 changed files with 8861 additions and 9527 deletions

View file

@ -3,20 +3,20 @@ from dynamic_preferences.registries import global_preferences_registry
from funkwhale_api.common import preferences
subsonic = types.Section('subsonic')
subsonic = types.Section("subsonic")
@global_preferences_registry.register
class APIAutenticationRequired(types.BooleanPreference):
section = subsonic
show_in_api = True
name = 'enabled'
name = "enabled"
default = True
verbose_name = 'Enabled Subsonic API'
verbose_name = "Enabled Subsonic API"
help_text = (
'Funkwhale supports a subset of the Subsonic API, that makes '
'it compatible with existing clients such as DSub for Android '
'or Clementine for desktop. However, Subsonic protocol is less '
'than ideal in terms of security and you can disable this feature '
'completely using this flag.'
"Funkwhale supports a subset of the Subsonic API, that makes "
"it compatible with existing clients such as DSub for Android "
"or Clementine for desktop. However, Subsonic protocol is less "
"than ideal in terms of security and you can disable this feature "
"completely using this flag."
)