Skip to content

Commit

Permalink
pep8: fixing E402 related errors on __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
chmduquesne committed Feb 16, 2015
1 parent c9273a9 commit ae0017c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions kafka/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
__title__ = 'kafka'
# Use setuptools to get version from setup.py
import pkg_resources
__version__ = pkg_resources.require('kafka-python')[0].version
__author__ = 'David Arthur'
__license__ = 'Apache License 2.0'
__copyright__ = 'Copyright 2015, David Arthur under Apache License, v2.0'

from kafka.client import KafkaClient
from kafka.conn import KafkaConnection
Expand All @@ -15,6 +10,12 @@
from kafka.partitioner import RoundRobinPartitioner, HashedPartitioner
from kafka.consumer import SimpleConsumer, MultiProcessConsumer, KafkaConsumer

__title__ = 'kafka'
__version__ = pkg_resources.require('kafka-python')[0].version
__author__ = 'David Arthur'
__license__ = 'Apache License 2.0'
__copyright__ = 'Copyright 2015, David Arthur under Apache License, v2.0'

__all__ = [
'KafkaClient', 'KafkaConnection', 'SimpleProducer', 'KeyedProducer',
'RoundRobinPartitioner', 'HashedPartitioner', 'SimpleConsumer',
Expand Down

0 comments on commit ae0017c

Please sign in to comment.