mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Enforce alphabetic import order
This commit is contained in:
parent
ad128d37c5
commit
3fccfe19e7
7 changed files with 7 additions and 7 deletions
2
build.sh
2
build.sh
|
|
@ -50,7 +50,7 @@ command__tests() {
|
|||
}
|
||||
|
||||
command__install_style() {
|
||||
$PIP_INSTALL flake8
|
||||
$PIP_INSTALL flake8 flake8-import-order
|
||||
}
|
||||
|
||||
command__style() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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__)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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__)
|
||||
|
|
|
|||
Loading…
Reference in a new issue