diff --git a/hypha/apply/api/v1/filters.py b/hypha/apply/api/v1/filters.py
index df604c8f492b74c1b9b3e5da898fa7b0c3e3f658..2669523a62626e19ea561ce8bd14e0acf39b87e5 100644
--- a/hypha/apply/api/v1/filters.py
+++ b/hypha/apply/api/v1/filters.py
@@ -48,14 +48,14 @@ class SubmissionsFilter(filters.FilterSet):
         model = ApplicationSubmission
         fields = ('status', 'round', 'active', 'submit_date', 'fund', 'screening_statuses', 'reviewers', 'lead')
 
-        def filter_active(self, qs, name, value):
-            if value is None:
-                return qs
-
-            if value:
-                return qs.active()
-            else:
-                return qs.inactive()
+    def filter_active(self, qs, name, value):
+        if value is None:
+            return qs
+
+        if value:
+            return qs.active()
+        else:
+            return qs.inactive()
 
 
 class NewerThanFilter(filters.ModelChoiceFilter):
diff --git a/hypha/apply/api/v1/views.py b/hypha/apply/api/v1/views.py
index 06da944575c01e0be92940856fe56b7ad50321dc..c24de17c0e8e0eb48da3567cfa2e454a180a54dc 100644
--- a/hypha/apply/api/v1/views.py
+++ b/hypha/apply/api/v1/views.py
@@ -14,7 +14,13 @@ from hypha.apply.activity.messaging import MESSAGES, messenger
 from hypha.apply.activity.models import COMMENT, Activity
 from hypha.apply.determinations.views import DeterminationCreateOrUpdateView
 from hypha.apply.funds.models import ApplicationSubmission, RoundsAndLabs
-from hypha.apply.funds.tables import get_reviewers, get_round_leads, get_screening_statuses, get_used_rounds, get_used_funds
+from hypha.apply.funds.tables import (
+    get_reviewers,
+    get_round_leads,
+    get_screening_statuses,
+    get_used_funds,
+    get_used_rounds,
+)
 from hypha.apply.funds.workflow import STATUSES
 from hypha.apply.review.models import Review