PEP8 cleanups
This commit is contained in:
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
from django.db import models
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@ from .links import (
|
||||
key_delete, key_query, key_receive, key_setup, public_keys
|
||||
)
|
||||
|
||||
|
||||
class DjangoGPGApp(apps.AppConfig):
|
||||
name = 'django_gpg'
|
||||
verbose_name = _('Django GPG')
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ from .permissions import (
|
||||
PERMISSION_COMMENT_VIEW
|
||||
)
|
||||
|
||||
|
||||
class DocumentCommentsApp(apps.AppConfig):
|
||||
name = 'document_comments'
|
||||
verbose_name = _('Document comments')
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ from __future__ import unicode_literals
|
||||
from django.contrib import admin
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from .models import Index, IndexInstanceNode, IndexTemplateNode
|
||||
from .models import Index, IndexTemplateNode
|
||||
|
||||
|
||||
class IndexTemplateNodeInline(admin.StackedInline):
|
||||
@@ -24,6 +24,3 @@ class IndexAdmin(admin.ModelAdmin):
|
||||
|
||||
|
||||
admin.site.register(Index, IndexAdmin)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ from django.core.files import File
|
||||
from mayan.celery import app
|
||||
|
||||
from common.models import SharedUploadedFile
|
||||
from converter.exceptions import ConvertError
|
||||
|
||||
from .models import Document, DocumentType, DocumentVersion
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
from .classes import Event # NOQA
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django import apps
|
||||
from django.db.utils import DatabaseError
|
||||
from django.dispatch import receiver
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from common.utils import encapsulate
|
||||
@@ -11,7 +9,6 @@ from project_tools.api import register_tool
|
||||
|
||||
from .classes import Property, PropertyNamespace
|
||||
from .links import link_menu_link, link_namespace_details, link_namespace_list
|
||||
from .models import Installation
|
||||
|
||||
|
||||
class InstallationApp(apps.AppConfig):
|
||||
|
||||
@@ -23,13 +23,11 @@ from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.datastructures import SortedDict
|
||||
from django.conf import settings
|
||||
|
||||
from solo.models import SingletonModel
|
||||
|
||||
from common.utils import pretty_size
|
||||
from mayan import __version__ as mayan_version
|
||||
from ocr.settings import PDFTOTEXT_PATH, TESSERACT_PATH, UNPAPER_PATH
|
||||
|
||||
from .classes import PIPNotFound, Property, PropertyNamespace, VirtualEnv
|
||||
from .classes import PIPNotFound, PropertyNamespace, VirtualEnv
|
||||
|
||||
|
||||
class Installation(object):
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ from .permissions import (
|
||||
PERMISSION_SMART_LINK_VIEW
|
||||
)
|
||||
|
||||
|
||||
class LinkingApp(apps.AppConfig):
|
||||
name = 'linking'
|
||||
verbose_name = _('Linking')
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
from .classes import FrontPageButton # NOQA
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ from navigation.api import register_links
|
||||
from project_setup.api import register_setup
|
||||
from rest_api.classes import APIEndPoint
|
||||
|
||||
from .models import Permission, Role
|
||||
from .models import Role
|
||||
from .links import (
|
||||
permission_grant, permission_revoke, role_create, role_delete, role_edit,
|
||||
role_list, role_members, role_permissions
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -13,4 +13,4 @@ class ProjectSetupApp(apps.AppConfig):
|
||||
verbose_name = _('Project setup')
|
||||
|
||||
def ready(self):
|
||||
setup_link = register_top_menu('setup_menu', link=link_setup, position=-2)
|
||||
register_top_menu('setup_menu', link=link_setup, position=-2)
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -13,5 +13,4 @@ class ProjectToolsApp(apps.AppConfig):
|
||||
verbose_name = _('Project tools')
|
||||
|
||||
def ready(self):
|
||||
tool_link = register_top_menu('tools', link=link_tools, position=-3)
|
||||
|
||||
register_top_menu('tools', link=link_tools, position=-3)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user