Skip to content

Commit

Permalink
Setup flake8-import-order
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelAquilina committed Aug 10, 2017
1 parent a563e7f commit ba46973
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Faker==0.7.3
flake8==3.0.4
flake8-import-order==0.13.0
freezegun==0.3.7
ipdb==0.10.1
mock==2.0.0
Expand Down
4 changes: 2 additions & 2 deletions s4/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

import argparse
import datetime
import os
import json
import logging
import os
import sys

import boto3

from tabulate import tabulate

from s4 import VERSION
from s4 import sync
from s4 import utils
from s4 import VERSION
from s4.clients import local, s3


Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ universal = 1

[flake8]
max-line-length = 100
application-import-names = s4, tests
2 changes: 1 addition & 1 deletion tests/clients/test_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pytest

from s4.clients import get_sync_state, SyncClient, SyncState, SyncObject
from s4.clients import SyncClient, SyncObject, SyncState, get_sync_state


class TestSyncState(object):
Expand Down
4 changes: 2 additions & 2 deletions tests/clients/test_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import mock
import pytest

from s4.clients import local, SyncObject
import utils
from s4.clients import SyncObject, local
from tests import utils


class TestTraverse(object):
Expand Down
4 changes: 2 additions & 2 deletions tests/clients/test_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

import pytest

from s4.clients import s3, SyncObject
from s4.clients import SyncObject, s3
from s4.utils import to_timestamp
import utils
from tests import utils


class TestParseS3URI(object):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from s4 import cli
from s4.utils import to_timestamp
import utils
from tests import utils


class FakeInputStream(object):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from s4 import sync
from s4.clients import SyncState
import utils
from tests import utils


class TestDeferredFunction(object):
Expand Down

0 comments on commit ba46973

Please sign in to comment.