Skip to content

Commit 9844347

Browse files
committed
lint: Sort imports in the entire codebase
1 parent 1d74154 commit 9844347

File tree

135 files changed

+155
-244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+155
-244
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@ repos:
2323
hooks:
2424
- id: flake8
2525
exclude: .*/migrations/.*|settings/.*
26+
27+
- repo: https://github.com/timothycrosley/isort
28+
rev: 4.3.21
29+
hooks:
30+
- id: isort
31+
additional_dependencies: [toml]
32+
files: \.py$

junction/base/admin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import, unicode_literals
33

4-
# Third Party Stuff
54
from django.contrib import admin
65

76

junction/base/apps.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import, print_function, unicode_literals
33

4-
# Standard Library
54
import sys
65

7-
# Third Party Stuff
86
from django.apps import AppConfig
97

108
from . import monkey

junction/base/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import, unicode_literals
33

4-
# Standard Library
54
import inspect
65

76

junction/base/context_processors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import, unicode_literals
33

4-
# Third Party Stuff
54
from django.conf import settings
65

76

junction/base/emailer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import, unicode_literals
33

4-
# Standard Library
54
from os import path
65

7-
# Third Party Stuff
86
from django.conf import settings
97
from django.core.mail import send_mail
108
from django.template.loader import render_to_string

junction/base/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import, unicode_literals
33

4-
# Third Party Stuff
54
from django.contrib.auth.models import User
65
from django.db import models
76

junction/base/templatetags/date.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# -*- encoding: utf-8 -*-
22
from __future__ import unicode_literals
33

4-
# Standard Library
54
from datetime import date
65

7-
# Third Party Stuff
86
import arrow
97
from django import template
108

junction/base/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Standard Library
21
import datetime as dt
32

43

junction/base/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import absolute_import, unicode_literals
33

4-
# Third Party Stuff
54
from django.contrib.auth.decorators import login_required
65
from django.views.decorators.csrf import csrf_exempt
76

0 commit comments

Comments
 (0)