mypy: Remove unused type: ignore comments.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
							parent
							
								
									5b5fda2354
								
							
						
					
					
						commit
						30f241a126
					
				
					 7 changed files with 10 additions and 8 deletions
				
			
		|  | @ -113,7 +113,7 @@ if __name__ == "__main__": | |||
|         zulip_client = zulip.init_from_options(args) | ||||
|         try: | ||||
|             log_files = json.loads(open(args.control_path).read()) | ||||
|         except (json.JSONDecodeError, OSError):  # type: ignore # error: Cannot determine type of 'IOError' | ||||
|         except (json.JSONDecodeError, OSError): | ||||
|             print("Could not load control data from %s" % (args.control_path,)) | ||||
|             traceback.print_exc() | ||||
|             sys.exit(1) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Anders Kaseorg
						Anders Kaseorg