From 2d0d88a7378eaf4efd18d3da466282e0828da77f Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Tue, 25 Feb 2020 14:50:26 +0000
Subject: [PATCH] Lint: fix the ordering of imports

---
 hypha/apply/funds/views.py   | 2 +-
 hypha/apply/projects/urls.py | 2 +-
 hypha/apply/utils/pdfs.py    | 5 ++---
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/hypha/apply/funds/views.py b/hypha/apply/funds/views.py
index 01fdda91b..96bb65f9f 100644
--- a/hypha/apply/funds/views.py
+++ b/hypha/apply/funds/views.py
@@ -39,7 +39,7 @@ from hypha.apply.projects.forms import CreateProjectForm
 from hypha.apply.projects.models import Project
 from hypha.apply.review.views import ReviewContextMixin
 from hypha.apply.users.decorators import staff_required
-from hypha.apply.utils.pdfs import make_pdf, draw_submission_content
+from hypha.apply.utils.pdfs import draw_submission_content, make_pdf
 from hypha.apply.utils.storage import PrivateMediaView
 from hypha.apply.utils.views import (
     DelegateableListView,
diff --git a/hypha/apply/projects/urls.py b/hypha/apply/projects/urls.py
index 75b596ba7..5e6784e6d 100644
--- a/hypha/apply/projects/urls.py
+++ b/hypha/apply/projects/urls.py
@@ -8,11 +8,11 @@ from .views import (
     PaymentRequestListView,
     PaymentRequestPrivateMedia,
     PaymentRequestView,
+    ProjectDetailPDFView,
     ProjectDetailSimplifiedView,
     ProjectDetailView,
     ProjectEditView,
     ProjectListView,
-    ProjectDetailPDFView,
     ProjectOverviewView,
     ProjectPrivateMediaView,
     ReportDetailView,
diff --git a/hypha/apply/utils/pdfs.py b/hypha/apply/utils/pdfs.py
index 9e692dc80..756d1c5a7 100644
--- a/hypha/apply/utils/pdfs.py
+++ b/hypha/apply/utils/pdfs.py
@@ -11,20 +11,19 @@ from reportlab.pdfbase import pdfmetrics
 from reportlab.pdfbase.ttfonts import TTFont
 from reportlab.platypus import (
     BaseDocTemplate,
-    KeepTogether,
     Frame,
+    KeepTogether,
     ListFlowable,
     ListItem,
     NextPageTemplate,
     PageBreak,
-    Paragraph,
     PageTemplate,
+    Paragraph,
     Spacer,
     Table,
     TableStyle,
 )
 
-
 STYLES = {
     'Question': PS(fontName='MontserratBold', fontSize=14, name='Question', spaceAfter=0, spaceBefore=18, leading=21),
     'QuestionSmall': PS(fontName='MontserratBold', fontSize=12, name='QuestionSmall', spaceAfter=0, spaceBefore=16, leading=18),
-- 
GitLab