forked from JOJ/Joint-Teapot
		
	style: fix codacy checks
This commit is contained in:
		
							parent
							
								
									9c461de87a
								
							
						
					
					
						commit
						1d6147db60
					
				|  | @ -163,7 +163,7 @@ def create_channels_on_mm( | ||||||
|     logger.info( |     logger.info( | ||||||
|         f"{len(groups)} channel(s) to be created" |         f"{len(groups)} channel(s) to be created" | ||||||
|         + (f" with suffix {suffix}" if suffix else "") |         + (f" with suffix {suffix}" if suffix else "") | ||||||
|         + (f", inviting teaching team" if invite_teaching_team else "") |         + (", inviting teaching team" if invite_teaching_team else "") | ||||||
|         + f": {','.join(groups.keys())}" |         + f": {','.join(groups.keys())}" | ||||||
|     ) |     ) | ||||||
|     tea.pot.mattermost.create_channels_for_groups(groups, suffix, invite_teaching_team) |     tea.pot.mattermost.create_channels_for_groups(groups, suffix, invite_teaching_team) | ||||||
|  | @ -177,7 +177,7 @@ def create_channels_on_mm( | ||||||
| def create_webhooks_for_mm(prefix: str = Argument("")) -> None: | def create_webhooks_for_mm(prefix: str = Argument("")) -> None: | ||||||
|     repo_names = [ |     repo_names = [ | ||||||
|         group_name |         group_name | ||||||
|         for group_name in tea.pot.gitea.get_all_teams().keys() |         for group_name in tea.pot.gitea.get_all_teams() | ||||||
|         if group_name.startswith(prefix) |         if group_name.startswith(prefix) | ||||||
|     ] |     ] | ||||||
|     logger.info(f"{len(repo_names)} pair(s) of webhooks to be created: {repo_names}") |     logger.info(f"{len(repo_names)} pair(s) of webhooks to be created: {repo_names}") | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user