lint: Fix % comprehensions being used without a tuple.
MODIFY
contrib_bots/lib/xkcd.py
contrib_bots/lib/xkcd.py
@@ -87,7 +87,7 @@ def get_xkcd_bot_response(message):
except XkcdNotFoundError:
logging.exception('XKCD server responded 404 when trying to fetch comic with id %s'
% (command))
- return 'Sorry, there is likely no xkcd comic strip with id: #%s' % (command)
+ return 'Sorry, there is likely no xkcd comic strip with id: #%s' % (command,)
else:
return ("#%s: **%s**\n[%s](%s)" % (fetched['num'],
fetched['title'],

MODIFY
integrations/google/google-calendar
integrations/google/google-calendar
@@ -143,7 +143,7 @@ def send_reminders():
key = (id, start)
if key not in sent:
if start.hour == 0 and start.minute == 0:
- line = '%s is today.' % (summary)
+ line = '%s is today.' % (summary,)
else:
line = '%s starts at %s' % (summary, start.strftime('%H:%M'))
print('Sending reminder:', line)

lint: Fix % comprehensions being used without a tuple.