Skip to content

Commit ddb1065

Browse files
committed
Sort imports with isort
1 parent 0f006bf commit ddb1065

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

pattern_library/management/commands/render_patterns.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
from django.template.loader import render_to_string
55
from django.test.client import RequestFactory
66

7-
from pattern_library import get_base_template_names, get_pattern_base_template_name
7+
from pattern_library import (
8+
get_base_template_names, get_pattern_base_template_name
9+
)
810
from pattern_library.utils import (
9-
get_pattern_templates, get_pattern_context, get_template_ancestors, render_pattern
11+
get_pattern_context, get_pattern_templates, get_template_ancestors,
12+
render_pattern
1013
)
1114

1215

tests/tests/test_commands.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import io
2-
2+
import shutil
33
import tempfile
44
from pathlib import Path
5-
import shutil
65

7-
from django.test import SimpleTestCase
86
from django.core.management import call_command
7+
from django.test import SimpleTestCase
98

109

1110
class RenderPatternsTests(SimpleTestCase):

0 commit comments

Comments
 (0)