From f2b0b8781c504950e0de351aa08cc6a228f0242f Mon Sep 17 00:00:00 2001 From: Mathieu Pillard Date: Tue, 23 Jan 2018 12:47:14 +0100 Subject: [PATCH] Fix flake8 errors --- src/olympia/api/permissions.py | 1 - src/olympia/reviewers/models.py | 2 +- src/olympia/reviewers/tests/test_views.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/olympia/api/permissions.py b/src/olympia/api/permissions.py index 50c10cc6ab..1d1dea9326 100644 --- a/src/olympia/api/permissions.py +++ b/src/olympia/api/permissions.py @@ -1,7 +1,6 @@ from rest_framework.exceptions import MethodNotAllowed from rest_framework.permissions import SAFE_METHODS, BasePermission -from olympia import amo from olympia.amo import permissions from olympia.access import acl diff --git a/src/olympia/reviewers/models.py b/src/olympia/reviewers/models.py index d147c6d19a..d680a5afbe 100644 --- a/src/olympia/reviewers/models.py +++ b/src/olympia/reviewers/models.py @@ -7,7 +7,7 @@ from django.conf import settings from django.core.cache import cache from django.db import models from django.db.models import Q, Sum -from django.db.models.functions import Coalesce, Func +from django.db.models.functions import Func from django.template import loader from django.utils.translation import ugettext, ugettext_lazy as _ diff --git a/src/olympia/reviewers/tests/test_views.py b/src/olympia/reviewers/tests/test_views.py index 5a2ee925a2..6ec4ff5460 100644 --- a/src/olympia/reviewers/tests/test_views.py +++ b/src/olympia/reviewers/tests/test_views.py @@ -39,7 +39,7 @@ from olympia.reviewers.models import ( AutoApprovalSummary, RereviewQueueTheme, ReviewerScore, ReviewerSubscription, Whiteboard) from olympia.users.models import UserProfile -from olympia.versions.models import ApplicationsVersions, AppVersion, Version +from olympia.versions.models import ApplicationsVersions, AppVersion from olympia.zadmin.models import get_config, set_config