fix flake8 issues
This commit is contained in:
		
					parent
					
						
							
								3bb64478ed
							
						
					
				
			
			
				commit
				
					
						0879a3e324
					
				
			
		
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -368,10 +368,10 @@ def write_report(all_reports, filename='frontend'): | |||
|         all_reports (dict): A dictonary of report obtained from different tests | ||||
|         filename (str): An optional suffix for the output file | ||||
|     """ | ||||
|     full_filename = 'utils/optimize/optimize_' + filename + '.html' | ||||
|     output_file = os.path.join( | ||||
|         settings.PROJECT_DIR, full_filename | ||||
|     ) | ||||
|     # full_filename = 'utils/optimize/optimize_' + filename + '.html' | ||||
|     # output_file = os.path.join( | ||||
|     #     settings.PROJECT_DIR, full_filename | ||||
|     # ) | ||||
|     with open('utils/optimize/op_frontend.json', 'w') as f: | ||||
|         json.dump(all_reports, f, indent=4) | ||||
|     # with open(output_file, 'w', newline='') as f: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue