pep8 multi line imports

This commit is contained in:
Rob Weber 2019-11-25 15:48:42 -06:00
parent 92ec8bf25c
commit 35e05acaf2
9 changed files with 25 additions and 9 deletions

View File

@ -1,5 +1,6 @@
import sys import sys
import xbmc, xbmcgui import xbmc
import xbmcgui
import resources.lib.utils as utils import resources.lib.utils as utils
from resources.lib.backup import XbmcBackup from resources.lib.backup import XbmcBackup

View File

@ -1,5 +1,7 @@
import sys import sys
import xbmc, xbmcgui, xbmcvfs import xbmc
import xbmcgui
import xbmcvfs
import resources.lib.utils as utils import resources.lib.utils as utils
from resources.lib.authorizers import DropboxAuthorizer from resources.lib.authorizers import DropboxAuthorizer
from resources.lib.advanced_editor import AdvancedBackupEditor from resources.lib.advanced_editor import AdvancedBackupEditor

View File

@ -1,5 +1,7 @@
import json import json
import xbmc, xbmcgui, xbmcvfs import xbmc
import xbmcgui
import xbmcvfs
from . import utils as utils from . import utils as utils
class BackupSetManager: class BackupSetManager:

View File

@ -1,4 +1,6 @@
import xbmc, xbmcgui, xbmcvfs import xbmc
import xbmcgui
import xbmcvfs
import resources.lib.tinyurl as tinyurl import resources.lib.tinyurl as tinyurl
import resources.lib.utils as utils import resources.lib.utils as utils

View File

@ -1,7 +1,9 @@
from __future__ import unicode_literals from __future__ import unicode_literals
import time import time
import json import json
import xbmc, xbmcgui, xbmcvfs import xbmc
import xbmcgui
import xbmcvfs
from . import utils as utils from . import utils as utils
from datetime import datetime from datetime import datetime
from . vfs import XBMCFileSystem, DropboxFileSystem, ZipFileSystem from . vfs import XBMCFileSystem, DropboxFileSystem, ZipFileSystem

View File

@ -1,5 +1,6 @@
import json import json
import xbmc, xbmcvfs import xbmc
import xbmcvfs
from . import utils as utils from . import utils as utils
from xml.dom import minidom from xml.dom import minidom
from xml.parsers.expat import ExpatError from xml.parsers.expat import ExpatError

View File

@ -1,4 +1,6 @@
import xbmc, xbmcgui, xbmcaddon import xbmc
import xbmcgui
import xbmcaddon
__addon_id__= 'script.xbmcbackup' __addon_id__= 'script.xbmcbackup'
__Addon = xbmcaddon.Addon(__addon_id__) __Addon = xbmcaddon.Addon(__addon_id__)

View File

@ -2,7 +2,9 @@ from __future__ import unicode_literals
import zipfile import zipfile
import os.path import os.path
import sys import sys
import xbmc, xbmcvfs, xbmcgui import xbmc
import xbmcvfs
import xbmcgui
from . import dropbox from . import dropbox
from . import utils as utils from . import utils as utils
from .dropbox.files import WriteMode, CommitInfo, UploadSessionCursor from .dropbox.files import WriteMode, CommitInfo, UploadSessionCursor

View File

@ -1,6 +1,8 @@
import time import time
from datetime import datetime from datetime import datetime
import xbmc, xbmcvfs, xbmcgui import xbmc
import xbmcvfs
import xbmcgui
import resources.lib.utils as utils import resources.lib.utils as utils
from resources.lib.croniter import croniter from resources.lib.croniter import croniter
from resources.lib.backup import XbmcBackup from resources.lib.backup import XbmcBackup