From ab3cbd313bd1721451a84f3107864e706e2403dc Mon Sep 17 00:00:00 2001 From: Aditya Bansal Date: Sun, 7 May 2017 20:14:54 +0530 Subject: [PATCH] pep8: Add compliance with rule E261 to summarize_stream.py. --- bots/summarize_stream.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bots/summarize_stream.py b/bots/summarize_stream.py index d48adfb..01a9c4a 100644 --- a/bots/summarize_stream.py +++ b/bots/summarize_stream.py @@ -55,13 +55,13 @@ def generate_support_stats(): narrow = 'stream:support' count = 2000 msgs = get_recent_messages(client, narrow, count) - msgs_by_topic = collections.defaultdict(list) # type: Dict[str, List[Dict[str, Any]]] + msgs_by_topic = collections.defaultdict(list) # type: Dict[str, List[Dict[str, Any]]] for msg in msgs: topic = msg['subject'] msgs_by_topic[topic].append(msg) - word_count = collections.defaultdict(int) # type: Dict[str, int] - email_count = collections.defaultdict(int) # type: Dict[str, int] + word_count = collections.defaultdict(int) # type: Dict[str, int] + email_count = collections.defaultdict(int) # type: Dict[str, int] if False: for topic in msgs_by_topic: