Skip to content

Commit 2053c89

Browse files
committed
Lint
1 parent aa65396 commit 2053c89

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

readthedocs/builds/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
from builtins import object
1515
from django.contrib import messages
1616
from django.contrib.auth.decorators import login_required
17-
from django.urls import reverse
1817
from django.http import (
1918
HttpResponseForbidden,
2019
HttpResponsePermanentRedirect,
2120
HttpResponseRedirect,
2221
)
2322
from django.shortcuts import get_object_or_404
23+
from django.urls import reverse
2424
from django.utils.decorators import method_decorator
2525
from django.views.generic import DetailView, ListView
2626

@@ -29,6 +29,7 @@
2929
from readthedocs.core.utils import trigger_build
3030
from readthedocs.projects.models import Project
3131

32+
3233
log = logging.getLogger(__name__)
3334

3435

readthedocs/projects/querysets.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
"""Project model QuerySet classes"""
1+
# -*- coding: utf-8 -*-
2+
"""Project model QuerySet classes."""
23

34
from __future__ import absolute_import
45

56
from django.db import models
67
from django.db.models import Q
78
from guardian.shortcuts import get_objects_for_user
89

9-
from . import constants
1010
from readthedocs.core.utils.extend import SettingsOverrideObject
1111

12+
from . import constants
13+
1214

1315
class ProjectQuerySetBase(models.QuerySet):
1416

readthedocs/projects/views/private.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from django.contrib import messages
1717
from django.contrib.auth.decorators import login_required
1818
from django.contrib.auth.models import User
19-
from django.urls import reverse
2019
from django.http import (
2120
Http404,
2221
HttpResponseBadRequest,
@@ -25,6 +24,7 @@
2524
)
2625
from django.middleware.csrf import get_token
2726
from django.shortcuts import get_object_or_404, render
27+
from django.urls import reverse
2828
from django.utils.safestring import mark_safe
2929
from django.utils.translation import ugettext_lazy as _
3030
from django.views.generic import ListView, TemplateView, View

readthedocs/restapi/views/integrations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
"""Endpoints integrating with Github, Bitbucket, and other webhooks."""
23

34
from __future__ import (

0 commit comments

Comments
 (0)