black: Reformat without skipping string normalization.
This commit is contained in:
		
							parent
							
								
									fba21bb00d
								
							
						
					
					
						commit
						6f3f9bf7e4
					
				
					 178 changed files with 5242 additions and 5242 deletions
				
			
		|  | @ -43,7 +43,7 @@ entry = svn.log(path, revision_end=pysvn.Revision(pysvn.opt_revision_kind.number | |||
|     0 | ||||
| ]  # type: Dict[Text, Any] | ||||
| message = "**{}** committed revision r{} to `{}`.\n\n> {}".format( | ||||
|     entry['author'], rev, path.split('/')[-1], entry['revprops']['svn:log'] | ||||
|     entry["author"], rev, path.split("/")[-1], entry["revprops"]["svn:log"] | ||||
| )  # type: Text | ||||
| 
 | ||||
| destination = config.commit_notice_destination(path, rev)  # type: Optional[Dict[Text, Text]] | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ ZULIP_API_KEY = "0123456789abcdef0123456789abcdef" | |||
| # * stream "commits" | ||||
| # * topic "branch_name" | ||||
| def commit_notice_destination(path: Text, commit: Text) -> Optional[Dict[Text, Text]]: | ||||
|     repo = path.split('/')[-1] | ||||
|     repo = path.split("/")[-1] | ||||
|     if repo not in ["evil-master-plan", "my-super-secret-repository"]: | ||||
|         return dict(stream="commits", subject="%s" % (repo,)) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 PIG208
						PIG208