Scrapy, a fast high-level web crawling & scraping framework for Python.
Full typing for scrapy/exceptions.py.
Andrey Rakhmatullinc5885fc13b7d
diff --git a/scrapy/exceptions.py b/scrapy/exceptions.pyindex 6e83e4a00..6d188c489 100644--- a/scrapy/exceptions.py+++ b/scrapy/exceptions.py@@ -52,7 +52,7 @@ class StopDownload(Exception):should be handled by the request errback. Note that 'fail' is a keyword-only argument."""- def __init__(self, *, fail=True):+ def __init__(self, *, fail: bool = True):super().__init__()self.fail = fail