lint: Clean up E126 PEP-8 rule.
This commit is contained in:
		
							parent
							
								
									31efc903bd
								
							
						
					
					
						commit
						722fc56534
					
				
					 8 changed files with 60 additions and 60 deletions
				
			
		|  | @ -252,16 +252,16 @@ logger.info("Sent Zephyr messages!") | |||
| for key, (stream, test) in hzkeys.items(): | ||||
|     if stream == "message": | ||||
|         send_zulip({ | ||||
|                 "type": "private", | ||||
|                 "content": str(key), | ||||
|                 "to": zulip_user, | ||||
|             "type": "private", | ||||
|             "content": str(key), | ||||
|             "to": zulip_user, | ||||
|         }) | ||||
|     else: | ||||
|         send_zulip({ | ||||
|                 "type": "stream", | ||||
|                 "subject": "test", | ||||
|                 "content": str(key), | ||||
|                 "to": stream, | ||||
|             "type": "stream", | ||||
|             "subject": "test", | ||||
|             "content": str(key), | ||||
|             "to": stream, | ||||
|         }) | ||||
|     receive_zephyrs() | ||||
| 
 | ||||
|  |  | |||
|  | @ -65,10 +65,10 @@ class IRCBot(irc.bot.SingleServerIRCBot): | |||
| 
 | ||||
|         # Forward the PM to Zulip | ||||
|         print(zulip_client.send_message({ | ||||
|                 "sender": sender, | ||||
|                 "type": "private", | ||||
|                 "to": "username@example.com", | ||||
|                 "content": content, | ||||
|             "sender": sender, | ||||
|             "type": "private", | ||||
|             "to": "username@example.com", | ||||
|             "content": content, | ||||
|         })) | ||||
| 
 | ||||
|     def on_pubmsg(self, c, e): | ||||
|  | @ -81,12 +81,12 @@ class IRCBot(irc.bot.SingleServerIRCBot): | |||
| 
 | ||||
|         # Forward the stream message to Zulip | ||||
|         print(zulip_client.send_message({ | ||||
|                 "forged": "yes", | ||||
|                 "sender": sender, | ||||
|                 "type": "stream", | ||||
|                 "to": stream, | ||||
|                 "subject": "IRC", | ||||
|                 "content": content, | ||||
|             "forged": "yes", | ||||
|             "sender": sender, | ||||
|             "type": "stream", | ||||
|             "to": stream, | ||||
|             "subject": "IRC", | ||||
|             "content": content, | ||||
|         })) | ||||
| 
 | ||||
|     def on_dccmsg(self, c, e): | ||||
|  |  | |||
|  | @ -332,7 +332,7 @@ zulip configuration file under the jabber_mirror section (exceptions are noted | |||
| in their help sections).  Keys have the same name as options with hyphens | ||||
| replaced with underscores.  Zulip configuration options go in the api section, | ||||
| as normal.'''.replace("\n", " ") | ||||
|                                     ) | ||||
|     ) | ||||
|     parser.add_option( | ||||
|         '--mode', | ||||
|         default=None, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Abbott
						Tim Abbott