PEP8 cleanups

This commit is contained in:
Roberto Rosario
2015-03-30 15:21:53 -04:00
parent 675d58cc32
commit 8af55ccbef
43 changed files with 8 additions and 63 deletions

View File

@@ -1 +0,0 @@

View File

@@ -1,2 +0,0 @@
from django.db import models

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1,3 +0,0 @@
from django.db import models
# Create your models here.

View File

@@ -1 +0,0 @@

View File

@@ -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')

View File

@@ -1 +0,0 @@

View File

@@ -1,3 +0,0 @@
from django.db import models
# Create your models here.

View File

@@ -1 +0,0 @@

View File

@@ -17,6 +17,7 @@ from .permissions import (
PERMISSION_COMMENT_VIEW
)
class DocumentCommentsApp(apps.AppConfig):
name = 'document_comments'
verbose_name = _('Document comments')

View File

@@ -1,3 +0,0 @@
from django.db import models
# Create your models here.

View File

@@ -1 +0,0 @@

View File

@@ -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)

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -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

View File

@@ -1 +0,0 @@

View File

@@ -1,2 +1 @@
from .classes import Event # NOQA

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -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):

View File

@@ -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):

View File

@@ -1 +0,0 @@

View File

@@ -23,6 +23,7 @@ from .permissions import (
PERMISSION_SMART_LINK_VIEW
)
class LinkingApp(apps.AppConfig):
name = 'linking'
verbose_name = _('Linking')

View File

@@ -1 +0,0 @@

View File

@@ -1,2 +1 @@
from .classes import FrontPageButton # NOQA

View File

@@ -1,3 +0,0 @@
from django.db import models
# Create your models here.

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -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

View File

@@ -1 +0,0 @@

View File

@@ -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)

View File

@@ -1,5 +0,0 @@

View File

@@ -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)

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1,3 +0,0 @@
from django.db import models
# Create your models here.

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@

View File

@@ -1 +0,0 @@