Skip to content

Commit

Permalink
apply isort suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter committed Oct 17, 2023
1 parent ebd6bd2 commit d847f91
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
steps:
- uses: actions/[email protected]
- uses: actions/checkout@v4
- run: pip install pre-commit
- run: pre-commit run --show-diff-on-failure --all-files

tests:
Expand Down
11 changes: 5 additions & 6 deletions example/urls.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
from django.conf import settings
from django.contrib import admin
from django.urls import include, path
from django.views import static

from app.views import (
ClassBased,
FilteredPersonListView,
MultipleTables,
template_example,
checkbox,
country_detail,
index,
multiple,
person_detail,
template_example,
tutorial,
)
from django.conf import settings
from django.contrib import admin
from django.urls import include, path
from django.views import static

urlpatterns = [
path("", index),
Expand Down
1 change: 1 addition & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from unittest.mock import MagicMock, Mock

from django.core.paginator import EmptyPage, PageNotAnInteger
from django.test import SimpleTestCase, TestCase

Expand Down
2 changes: 1 addition & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from collections import defaultdict
from unittest import mock

from django.contrib.contenttypes.models import ContentType
from django.db import models
from django.db.models.functions import Length
from django.template import Context, Template
from django.test import TestCase
from django.utils.translation import override as translation_override
from unittest import mock

import django_tables2 as tables

Expand Down
1 change: 1 addition & 0 deletions tests/test_views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from math import ceil
from typing import Optional

import django_filters as filters
from django.core.exceptions import ImproperlyConfigured
from django.test import TestCase
Expand Down

0 comments on commit d847f91

Please sign in to comment.