mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	mypy: Remove unnecessary type: ignore annotations.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							00091c34c0
						
					
				
				
					commit
					029bfb9fee
				
			@@ -43,7 +43,7 @@ def overwrite_symlink(src: str, dst: str) -> None:
 | 
			
		||||
    while True:
 | 
			
		||||
        tmp = tempfile.mktemp(
 | 
			
		||||
            prefix='.' + os.path.basename(dst) + '.',
 | 
			
		||||
            dir=os.path.dirname(dst))  # type: ignore # https://github.com/python/typeshed/issues/3449
 | 
			
		||||
            dir=os.path.dirname(dst))
 | 
			
		||||
        try:
 | 
			
		||||
            os.symlink(src, tmp)
 | 
			
		||||
        except FileExistsError:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user