mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Minor clenaup
This commit is contained in:
parent
b0f0d3d75c
commit
7eb6543d8b
4 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue