Apply isort to the project
This commit is contained in:
1 parent
4b15e11faa
commit
6ab1d58c47
15 files changed
+27
-19
No files matched your search
@@ -6,10 +6,10 @@ from django.conf import settings
|
||||
from django.db.migrations import Migration
|
||||
|
||||
from django_migration_linter import (
|
||||
IgnoreMigration,
|
||||
MigrationLinter,
|
||||
analyse_sql_statements,
|
||||
get_migration_abspath,
|
||||
IgnoreMigration,
|
||||
)
|
||||
|
||||
if sys.version_info >= (3, 3):
|
||||
|
||||
-1
@@ -3,7 +3,6 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
from django_add_default_value import AddDefaultValue
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,5 @@ from __future__ import unicode_literals
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
# class A(models.Model):
|
||||
# field_a = models.IntegerField()
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
# Generated by Django 2.2 on 2020-06-20 15:23
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
from django_add_default_value import AddDefaultValue
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ Including another URLconf
|
||||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
from django.contrib import admin
|
||||
from django.conf.urls import url
|
||||
from django.contrib import admin
|
||||
|
||||
urlpatterns = [url("admin/", admin.site.urls)]
|
||||
@@ -1,5 +1,5 @@
|
||||
import unittest
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
from django.db.migrations import Migration
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import unittest
|
||||
|
||||
from django_migration_linter.utils import split_path, split_migration_path
|
||||
from django_migration_linter.utils import split_migration_path, split_path
|
||||
|
||||
|
||||
class SplitPathTestCase(unittest.TestCase):
|
||||
|
||||
Reference in new issue
Block a user