From 2a9cd11b3ef1e48e35019f9a7c6e3af425cfb215 Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Tue, 23 Jan 2018 15:06:14 +0000
Subject: [PATCH] Fix flake8 errors

---
 opentech/apply/funds/blocks.py        | 5 ++---
 opentech/apply/stream_forms/blocks.py | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/opentech/apply/funds/blocks.py b/opentech/apply/funds/blocks.py
index f07a94967..865cfd663 100644
--- a/opentech/apply/funds/blocks.py
+++ b/opentech/apply/funds/blocks.py
@@ -26,7 +26,6 @@ class CustomFormFieldsBlock(FormFieldsBlock):
         else:
             error_dict = dict()
 
-
         block_types = [block.block_type for block in value]
         missing = set(REQUIRED_BLOCK_NAMES) - set(block_types)
 
@@ -75,7 +74,7 @@ class MustIncludeStatic(StaticBlock):
         errors = kwargs.pop('errors')
         if errors:
             # Pretend the error is a readonly input so that we get nice formatting
-            error_message= '<div class="error"><input readonly placeholder="{}"></div>'.format(errors[0])
+            error_message = '<div class="error"><input readonly placeholder="{}"></div>'.format(errors[0])
         else:
             error_message = ''
         form = super().render_form(*args, **kwargs)
@@ -100,4 +99,4 @@ class ValueBlock(MustIncludeFieldBlock):
     description = 'The value of the project'
 
 
-REQUIRED_BLOCK_NAMES = [block.name  for block in MustIncludeFieldBlock.__subclasses__()]
+REQUIRED_BLOCK_NAMES = [block.name for block in MustIncludeFieldBlock.__subclasses__()]
diff --git a/opentech/apply/stream_forms/blocks.py b/opentech/apply/stream_forms/blocks.py
index e5810e208..f3b0906e6 100644
--- a/opentech/apply/stream_forms/blocks.py
+++ b/opentech/apply/stream_forms/blocks.py
@@ -8,7 +8,7 @@ from django.utils.translation import ugettext_lazy as _
 from unidecode import unidecode
 from wagtail.wagtailcore.blocks import (
     StructBlock, TextBlock, CharBlock, BooleanBlock, ListBlock, StreamBlock,
-    DateBlock, TimeBlock, DateTimeBlock, ChoiceBlock, RichTextBlock,StaticBlock
+    DateBlock, TimeBlock, DateTimeBlock, ChoiceBlock, RichTextBlock
 )
 
 
-- 
GitLab