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.template.loader import render_to_string
from django.utils.safestring import mark_safe from django.utils.safestring import mark_safe
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from pygments import highlight from pygments import highlight
from pygments.formatters.html import HtmlFormatter from pygments.formatters.html import HtmlFormatter
from pygments.lexers import get_lexer_by_name 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.db import models
from django.urls import reverse from django.urls import reverse
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from six import python_2_unicode_compatible from six import python_2_unicode_compatible
from dpaste import highlight 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 import FormView
from django.views.generic.base import TemplateView, View from django.views.generic.base import TemplateView, View
from django.views.generic.detail import DetailView from django.views.generic.detail import DetailView
from pygments.lexers import get_lexer_for_filename from pygments.lexers import get_lexer_for_filename
from pygments.util import ClassNotFound from pygments.util import ClassNotFound

View file

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