From 28bde8c32dc56ef145c2a260408209ec2cdfefd5 Mon Sep 17 00:00:00 2001 From: Nikolaus Schlemm Date: Sat, 26 Jan 2019 01:18:32 +0100 Subject: [PATCH] Fix flake8 W504 line break after binary operator and thereby hopefully allow for closing https://github.com/jazzband/django-dbtemplates/issues/95 ? --- dbtemplates/test_cases.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dbtemplates/test_cases.py b/dbtemplates/test_cases.py index d864242..c2d7e1f 100644 --- a/dbtemplates/test_cases.py +++ b/dbtemplates/test_cases.py @@ -25,8 +25,9 @@ class DbTemplatesTestCase(TestCase): self.old_template_loaders = settings.TEMPLATE_LOADERS if 'dbtemplates.loader.Loader' not in settings.TEMPLATE_LOADERS: loader.template_source_loaders = None - settings.TEMPLATE_LOADERS = (list(settings.TEMPLATE_LOADERS) + - ['dbtemplates.loader.Loader']) + settings.TEMPLATE_LOADERS = list(settings.TEMPLATE_LOADERS) + [ + 'dbtemplates.loader.Loader' + ] self.site1, created1 = Site.objects.get_or_create( domain="example.com", name="example.com")