PEP8 cleanups.
This commit is contained in:
@@ -103,15 +103,6 @@ class PrintForm(forms.Form):
|
||||
page_range = forms.CharField(label=_('Page range'), required=False)
|
||||
|
||||
|
||||
class DocumentTypeFilenameForm(forms.ModelForm):
|
||||
"""
|
||||
Model class form to edit a document type filename
|
||||
"""
|
||||
class Meta:
|
||||
fields = ('filename', 'enabled')
|
||||
model = DocumentTypeFilename
|
||||
|
||||
|
||||
class DocumentTypeFilenameForm_create(forms.ModelForm):
|
||||
"""
|
||||
Model class form to create a new document type filename
|
||||
|
||||
@@ -1 +1 @@
|
||||
from .literals import *
|
||||
from .literals import * # NOQA
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.files import File
|
||||
from django.test import TestCase
|
||||
|
||||
|
||||
@@ -21,8 +21,7 @@ from common.generics import (
|
||||
SingleObjectEditView, SingleObjectListView
|
||||
)
|
||||
from common.mixins import MultipleInstanceActionMixin
|
||||
from common.utils import encapsulate, pretty_size
|
||||
from common.widgets import two_state_template
|
||||
from common.utils import pretty_size
|
||||
from converter.literals import (
|
||||
DEFAULT_PAGE_NUMBER, DEFAULT_ROTATION, DEFAULT_ZOOM_LEVEL
|
||||
)
|
||||
@@ -36,8 +35,8 @@ from .events import (
|
||||
)
|
||||
from .forms import (
|
||||
DocumentDownloadForm, DocumentForm, DocumentPageForm, DocumentPreviewForm,
|
||||
DocumentPropertiesForm, DocumentTypeFilenameForm,
|
||||
DocumentTypeFilenameForm_create, DocumentTypeSelectForm, PrintForm
|
||||
DocumentPropertiesForm, DocumentTypeSelectForm,
|
||||
DocumentTypeFilenameForm_create, PrintForm
|
||||
)
|
||||
from .literals import DOCUMENT_IMAGE_TASK_TIMEOUT
|
||||
from .models import (
|
||||
|
||||
Reference in New Issue
Block a user