Skip to content

Commit 63b0e61

Browse files
committed
Merge pull request #481 from zackdever/pylint-1.5-changes
new pylint disables for pylint 1.5.1
2 parents 3e28b42 + 16f6154 commit 63b0e61

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

kafka/consumer/kafka.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def _reset_partition_offset(self, topic_partition):
661661
# Otherwise we should re-raise the upstream exception
662662
# b/c it typically includes additional data about
663663
# the request that triggered it, and we do not want to drop that
664-
raise
664+
raise # pylint: disable-msg=E0704
665665

666666
(offset, ) = self.get_partition_offsets(topic, partition,
667667
request_time_ms, max_num_offsets=1)

kafka/consumer/simple.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def reset_partition_offset(self, partition):
166166
# Otherwise we should re-raise the upstream exception
167167
# b/c it typically includes additional data about
168168
# the request that triggered it, and we do not want to drop that
169-
raise
169+
raise # pylint: disable-msg=E0704
170170

171171
# send_offset_request
172172
log.info('Resetting topic-partition offset to %s for %s:%d',

test/fixtures.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from six.moves import urllib
99
import uuid
1010

11-
from six.moves.urllib.parse import urlparse # pylint: disable-msg=E0611
11+
from six.moves.urllib.parse import urlparse # pylint: disable-msg=E0611,F0401
1212
from test.service import ExternalService, SpawnedService
1313
from test.testutil import get_open_port
1414

0 commit comments

Comments
 (0)