Skip to content
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

Fix W1201. #869

Merged
merged 1 commit into from
Jan 14, 2020
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
3 changes: 1 addition & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ disable=print-statement,
W0612,
W0613,
W0621,
W0631,
W1201
W0631


# Enable the message, report, category or checker with the given id(s). You can
Expand Down
4 changes: 2 additions & 2 deletions esrally/mechanic/supplier.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def _supply_requirements(sources, distribution, build, plugins, revisions, distr
if not plugin_revision or SourceRepository.is_commit_hash(plugin_revision):
raise exceptions.SystemSetupError("No revision specified for plugin [%s]." % plugin.name)
else:
logging.getLogger(__name__).info("Revision for [%s] is not explicitly defined. Using catch-all revision [%s]."
% (plugin.name, plugin_revision))
logging.getLogger(__name__).info("Revision for [%s] is not explicitly defined. Using catch-all revision [%s].",
plugin.name, plugin_revision)
supply_requirements[plugin.name] = ("source", plugin_revision, plugin_needs_build)
else:
supply_requirements[plugin.name] = (distribution, _required_version(distribution_version), False)
Expand Down
2 changes: 1 addition & 1 deletion esrally/track/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def create_readers(num_clients, client_index, corpora, batch_size, bulk_size, id
docs.includes_action_and_meta_data)
if num_docs > 0:
logger.info("Task-relative client at index [%d] will bulk index [%d] docs starting from line offset [%d] for [%s/%s] "
"from corpus [%s]." % (client_index, num_docs, offset, docs.target_index, docs.target_type, corpus.name))
"from corpus [%s].", client_index, num_docs, offset, docs.target_index, docs.target_type, corpus.name)
readers.append(create_reader(docs, offset, num_lines, num_docs, batch_size, bulk_size, id_conflicts, conflict_probability,
on_conflict, recency))
else:
Expand Down