Enforce alphabetic import order

This commit is contained in:
Markus Unterwaditzer 2014-10-29 23:03:58 +01:00
parent ad128d37c5
commit 3fccfe19e7
7 changed files with 7 additions and 7 deletions

View file

@ -50,7 +50,7 @@ command__tests() {
}
command__install_style() {
$PIP_INSTALL flake8
$PIP_INSTALL flake8 flake8-import-order
}
command__style() {

View file

@ -12,8 +12,8 @@ import os
import pytest
from vdirsyncer.utils.vobject import Item
from vdirsyncer.storage.filesystem import FilesystemStorage
from vdirsyncer.utils.vobject import Item
from . import StorageTests

View file

@ -13,7 +13,7 @@ import os
import sys
import threading
from . import __version__, PROJECT_HOME, DOCS_HOME, log
from . import DOCS_HOME, PROJECT_HOME, __version__, log
from .doubleclick import click
from .storage import storage_names
from .sync import StorageEmpty, SyncConflict, sync

View file

@ -13,9 +13,9 @@ from lxml import etree
from requests import session as requests_session
from .. import exceptions, log, utils
from .base import Item, Storage
from .http import USERAGENT, prepare_auth, prepare_verify
from .. import exceptions, log, utils
dav_logger = log.get(__name__)

View file

@ -9,8 +9,8 @@
import os
from .. import exceptions, log
from .base import Item, Storage
from .. import exceptions, log
from ..utils import checkdir, expand_path, get_etag_from_file, safe_write
from ..utils.compat import text_type

View file

@ -10,8 +10,8 @@
import collections
import os
from .. import exceptions, log
from .base import Item, Storage
from .. import exceptions, log
from ..utils import checkfile, expand_path, safe_write
from ..utils.compat import iteritems, itervalues
from ..utils.vobject import join_collection, split_collection

View file

@ -13,9 +13,9 @@ import threading
import requests
from requests.packages.urllib3.poolmanager import PoolManager
from .compat import iteritems, urlparse
from .. import exceptions, log
from ..doubleclick import click, ctx
from .compat import iteritems, urlparse
logger = log.get(__name__)