Minor clenaup

This commit is contained in:
Martin Mahner 2019-03-16 10:40:56 +01:00
parent b0f0d3d75c
commit 7eb6543d8b
4 changed files with 3 additions and 6 deletions

View file

@ -5,7 +5,6 @@ from django.template.defaultfilters import escape, linebreaksbr
from django.template.loader import render_to_string
from django.utils.safestring import mark_safe
from django.utils.translation import ugettext_lazy as _
from pygments import highlight
from pygments.formatters.html import HtmlFormatter
from pygments.lexers import get_lexer_by_name

View file

@ -5,7 +5,6 @@ from django.apps import apps
from django.db import models
from django.urls import reverse
from django.utils.translation import ugettext_lazy as _
from six import python_2_unicode_compatible
from dpaste import highlight

View file

@ -13,7 +13,6 @@ from django.views.defaults import server_error as django_server_error
from django.views.generic import FormView
from django.views.generic.base import TemplateView, View
from django.views.generic.detail import DetailView
from pygments.lexers import get_lexer_for_filename
from pygments.util import ClassNotFound

View file

@ -47,10 +47,10 @@ install_requires =
coverage
[isort]
default_section = THIRDPARTY
known_first_party = dpaste
known_django = django
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
default_section = THIRDPARTY
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
multi_line_output = 0
skip = migrations
[coverage:run]