diff --git a/aleksis/core/management/commands/write_webpack_entrypoints.py b/aleksis/core/management/commands/write_webpack_entrypoints.py
index 80b18548bc40f6f115ffb9d698b58c02ae08a534..130f2158f7de704d5a1ce40176fdfb6ea0463e4e 100644
--- a/aleksis/core/management/commands/write_webpack_entrypoints.py
+++ b/aleksis/core/management/commands/write_webpack_entrypoints.py
@@ -2,13 +2,13 @@ import json
 import os
 
 from django.conf import settings
-from django.core.management.base import BaseCommand, CommandError
+from django.core.management.base import BaseCommand
 
 from ...util.frontend_helpers import get_apps_with_assets
 
 
 class Command(BaseCommand):
-    help = "Write out webpack entrypoints for all apps"
+    help = "Write out webpack entrypoints for all apps"  # noqa
 
     def handle(self, *args, **options):
         assets = {
diff --git a/aleksis/core/schema.py b/aleksis/core/schema.py
index c299b688d183aeb03881817f3e2a09e09e6a4a1c..7e637aa20612a5d486732d85201c05febcfeed3b 100644
--- a/aleksis/core/schema.py
+++ b/aleksis/core/schema.py
@@ -36,12 +36,12 @@ class PersonMutation(DjangoModelFormMutation):
 
 class MarkNotificationReadMutation(graphene.Mutation):
     class Arguments:
-        id = graphene.ID()
+        id = graphene.ID()  # noqa
 
     notification = graphene.Field(NotificationType)
 
     @classmethod
-    def mutate(cls, root, info, id):
+    def mutate(cls, root, info, id):  # noqa
         notification = Notification.objects.get(pk=id)
         # FIXME permissions
         notification.read = True
@@ -67,7 +67,7 @@ class Query(graphene.ObjectType):
         # FIXME do permission stuff
         return Person.objects.all()
 
-    def resolve_person_by_id(root, info, id):
+    def resolve_person_by_id(root, info, id):  # noqa
         return Person.objects.get(pk=id)
 
     def resolve_who_am_i(root, info, **kwargs):
diff --git a/aleksis/core/views.py b/aleksis/core/views.py
index bf7a66c190ec40c5c6ecebb8800a33da4748fab5..01350da6482743593964dfa52f3e44ae695e1e20 100644
--- a/aleksis/core/views.py
+++ b/aleksis/core/views.py
@@ -99,7 +99,6 @@ from .models import (
     DummyPerson,
     Group,
     GroupType,
-    Notification,
     OAuthApplication,
     PDFFile,
     Person,