Skip to content

new pylint disables for pylint 1.5.1 #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kafka/consumer/kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ def _reset_partition_offset(self, topic_partition):
# Otherwise we should re-raise the upstream exception
# b/c it typically includes additional data about
# the request that triggered it, and we do not want to drop that
raise
raise # pylint: disable-msg=E0704

(offset, ) = self.get_partition_offsets(topic, partition,
request_time_ms, max_num_offsets=1)
Expand Down
2 changes: 1 addition & 1 deletion kafka/consumer/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def reset_partition_offset(self, partition):
# Otherwise we should re-raise the upstream exception
# b/c it typically includes additional data about
# the request that triggered it, and we do not want to drop that
raise
raise # pylint: disable-msg=E0704

# send_offset_request
log.info('Resetting topic-partition offset to %s for %s:%d',
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from six.moves import urllib
import uuid

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

Expand Down