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