Skip to content

Commit 48ac0f4

Browse files
committed
Isort
1 parent 8c424cc commit 48ac0f4

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

readthedocs/builds/models.py

+27-8
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,55 @@
22
"""Models for the builds app."""
33

44
from __future__ import (
5-
absolute_import, division, print_function, unicode_literals)
5+
absolute_import,
6+
division,
7+
print_function,
8+
unicode_literals,
9+
)
610

711
import logging
812
import os.path
913
import re
10-
from builtins import object
1114
from shutil import rmtree
1215

16+
from builtins import object
1317
from django.conf import settings
1418
from django.core.urlresolvers import reverse
1519
from django.db import models
1620
from django.utils.encoding import python_2_unicode_compatible
17-
from django.utils.translation import ugettext_lazy as _
1821
from django.utils.translation import ugettext
22+
from django.utils.translation import ugettext_lazy as _
1923
from guardian.shortcuts import assign
2024
from taggit.managers import TaggableManager
2125

2226
from readthedocs.core.utils import broadcast
2327
from readthedocs.projects.constants import (
24-
BITBUCKET_URL, GITHUB_URL, GITLAB_URL, PRIVACY_CHOICES, PRIVATE)
28+
BITBUCKET_URL,
29+
GITHUB_URL,
30+
GITLAB_URL,
31+
PRIVACY_CHOICES,
32+
PRIVATE,
33+
)
2534
from readthedocs.projects.models import APIProject, Project
2635

2736
from .constants import (
28-
BRANCH, BUILD_STATE, BUILD_STATE_FINISHED, BUILD_TYPES, LATEST,
29-
NON_REPOSITORY_VERSIONS, STABLE, TAG, VERSION_TYPES)
37+
BRANCH,
38+
BUILD_STATE,
39+
BUILD_STATE_FINISHED,
40+
BUILD_TYPES,
41+
LATEST,
42+
NON_REPOSITORY_VERSIONS,
43+
STABLE,
44+
TAG,
45+
VERSION_TYPES,
46+
)
3047
from .managers import VersionManager
3148
from .querysets import BuildQuerySet, RelatedBuildQuerySet, VersionQuerySet
3249
from .utils import (
33-
get_bitbucket_username_repo, get_github_username_repo,
34-
get_gitlab_username_repo)
50+
get_bitbucket_username_repo,
51+
get_github_username_repo,
52+
get_gitlab_username_repo,
53+
)
3554
from .version_slug import VersionSlugField
3655

3756
DEFAULT_VERSION_PRIVACY_LEVEL = getattr(

0 commit comments

Comments
 (0)