Skip to content

Commit

Permalink
flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thefab committed Sep 3, 2016
1 parent b47f228 commit 6cc78c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

with open('pip-requirements.txt') as reqs:
install_requires = [
line for line in reqs.read().split('\n') if (line and not
line.startswith('--')) and
not ";" in line]
line for line in reqs.read().split('\n')
if (line and not line.startswith('--')) and (";" not in line)]

if sys.version_info[:2] == (3, 2):
install_requires.append("tornado>=4.2,<4.4")
else:
Expand Down
15 changes: 8 additions & 7 deletions tornadis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
DEFAULT_READ_PAGE_SIZE = 65536
DEFAULT_WRITE_PAGE_SIZE = 65536

from tornadis.utils import WriteBuffer
from tornadis.client import Client
from tornadis.pubsub import PubSubClient
from tornadis.pool import ClientPool
from tornadis.pipeline import Pipeline
from tornadis.connection import Connection
from tornadis.exceptions import ConnectionError, ClientError, TornadisException
from tornadis.utils import WriteBuffer # noqa
from tornadis.client import Client # noqa
from tornadis.pubsub import PubSubClient # noqa
from tornadis.pool import ClientPool # noqa
from tornadis.pipeline import Pipeline # noqa
from tornadis.connection import Connection # noqa
from tornadis.exceptions import ConnectionError, ClientError # noqa
from tornadis.exceptions import TornadisException # noqa

__all__ = ['Client', 'ClientPool', 'Pipeline',
'ConnectionError', 'ClientError', 'TornadisException',
Expand Down

0 comments on commit 6cc78c2

Please sign in to comment.