Update Black & run for whole repository

This commit is contained in:
Georg Krause 2022-01-09 11:40:49 +00:00 committed by JuniorJPDJ
commit 850dc69091
53 changed files with 441 additions and 149 deletions

View file

@ -180,7 +180,9 @@ def set_conf(name, conf, user=None, registry=_plugins):
if not registry[name]["conf"] and not registry[name]["source"]:
return
conf_serializer = get_serializer_from_conf_template(
registry[name]["conf"], user=user, source=registry[name]["source"],
registry[name]["conf"],
user=user,
source=registry[name]["source"],
)(data=conf)
conf_serializer.is_valid(raise_exception=True)
if "library" in conf_serializer.validated_data: