mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	mypy: Add type parameter for Set in check_help_documentation.py.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							a5d1fdf0d6
						
					
				
				
					commit
					abc0d5e79b
				
			@@ -25,7 +25,7 @@ class HelpDocumentationSpider(BaseDocumentationSpider):
 | 
			
		||||
 | 
			
		||||
    def __init__(self, *args: Any, **kwargs: Any) -> None:
 | 
			
		||||
        super().__init__(*args, **kwargs)
 | 
			
		||||
        self.static_images = set()  # type: Set
 | 
			
		||||
        self.static_images = set()  # type: Set[str]
 | 
			
		||||
 | 
			
		||||
    def _is_external_url(self, url: str) -> bool:
 | 
			
		||||
        is_external = url.startswith('http') and 'localhost:9981/help' not in url
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user