PEP8 fixes

This commit is contained in:
Jonathan Senecal 2022-09-28 18:11:10 -04:00 committed by jeremystretch
parent dc522a0135
commit 5c1417c4c7

View File

@ -670,6 +670,7 @@ for plugin_name in PLUGINS:
) )
plugin_module = "{}.{}".format(plugin_config.__module__, plugin_config.__name__) # type: ignore plugin_module = "{}.{}".format(plugin_config.__module__, plugin_config.__name__) # type: ignore
# Gather additionnal apps to load alongside this plugin # Gather additionnal apps to load alongside this plugin
plugin_apps = plugin_config.django_apps plugin_apps = plugin_config.django_apps
if plugin_name in plugin_apps: if plugin_name in plugin_apps:
@ -691,7 +692,6 @@ for plugin_name in PLUGINS:
"installed within the correct Python environment." "installed within the correct Python environment."
) )
INSTALLED_APPS.extend(plugin_apps) INSTALLED_APPS.extend(plugin_apps)
# Preserve uniqueness of the INSTALLED_APPS list, we keep the last occurence # Preserve uniqueness of the INSTALLED_APPS list, we keep the last occurence