Skip to content

Commit 63e9bf5

Browse files
pre-commit-ci[bot]CaptainJack2491
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cb79e0f commit 63e9bf5

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

accounts/tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from django_hosts.resolvers import reverse
77

88
from accounts.forms import DeleteProfileForm
9-
from foundation import models as foundationmodels
109
from tracdb.models import Revision, Ticket, TicketChange
1110
from tracdb.testutils import TracDBCreateDatabaseMixin
1211

foundation/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from django.contrib import admin
2-
from django.utils.translation import gettext as _
32

43
from . import models
54

5+
66
class CoreAwardAdmin(admin.ModelAdmin):
77
list_display = ["recipient", "cohort"]
88

foundation/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from django.db import models
22
from django.utils.translation import gettext_lazy as _
33

4+
45
class CoreAwardCohort(models.Model):
56
"""
67
A cohort of individuals -- such as "Q1 2021" -- receiving the Django Core

foundation/tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from django.contrib.sites.models import Site
44
from django.test import TestCase
55

6+
67
class MeetingTestCase(TestCase):
78
@classmethod
89
def setUpTestData(cls):
@@ -15,7 +16,7 @@ def test_latest_meeting_minutes(self):
1516
page = FlatPage.objects.create(
1617
title="Foundation",
1718
url="/foundation/",
18-
template_name="flatpages/foundation.html"
19+
template_name="flatpages/foundation.html",
1920
)
2021
page.sites.add(self.site)
2122

foundation/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from . import models
44

5+
56
class CoreDevelopers(generic.ListView):
67
queryset = models.CoreAwardCohort.objects.prefetch_related("recipients").order_by(
78
"-cohort_date"

0 commit comments

Comments
 (0)