Most cops currently use an unannotated template string for their message template(s):
Bad example:
MSG = 'Place the condition on the same line as `%s`.'.freeze
...
format(MSG, keyword)
These should actually use annotated strings, to provide context, and reduce connascence of the format arguments.
Good example:
MSG = 'Place the condition on the same line as `%<keyword>s`.'.freeze
...
format(MSG, keyword: keyword)
Progress:
Can I take it?
@mokpro: Sure. Please try to do it in batches (try not to submit one huge PR), and update the checklist above as you go. 馃檪
@Drenmi Thank you. I've created first pull request #5070 with ~20 files changed.
Please review it.
Also, I don't have permissions to updated the above description.
Starting at the bottom of the checklist and doing a large batch ascending up.