Skip to content

Commit 391a5fa

Browse files
committed
Keep isort happy
1 parent 2d53473 commit 391a5fa

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

django_coverage_plugin/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
"""Django Template Coverage Plugin"""
55

6+
from .plugin import DjangoTemplatePluginException # noqa
67
from .plugin import DjangoTemplatePlugin
7-
from .plugin import DjangoTemplatePluginException # noqa
88

99

1010
def coverage_init(reg, options):

django_coverage_plugin/plugin.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ def _token_name(token_type):
2525
except ImportError:
2626
# Django <2.1 uses separate constants for token types
2727
from django.template.base import (
28-
TOKEN_BLOCK, TOKEN_MAPPING, TOKEN_TEXT, TOKEN_VAR
28+
TOKEN_BLOCK,
29+
TOKEN_MAPPING,
30+
TOKEN_TEXT,
31+
TOKEN_VAR,
2932
)
3033

3134
class TokenType:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ deps =
5151

5252
commands =
5353
flake8 --max-line-length=100 setup.py django_coverage_plugin tests setup.py
54-
isort --verbose --check-only --diff --recursive django_coverage_plugin tests setup.py
54+
isort --check-only --diff django_coverage_plugin tests setup.py
5555

5656
[testenv:pkgcheck]
5757
skip_install = true

0 commit comments

Comments
 (0)