mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
mypy: Fix missing documentation_crawler annotation.
This commit is contained in:
@@ -90,6 +90,7 @@ class BaseDocumentationSpider(scrapy.Spider):
|
||||
yield request
|
||||
|
||||
def exclude_error(self, url):
|
||||
# type: (str) -> bool
|
||||
if url in EXCLUDED_URLS:
|
||||
return True
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user