Scrapy, a fast high-level web crawling & scraping framework for Python.
fix typing issues by upgrading mypy
Mikhail Korobov56e2eeac1066
diff --git a/tests/test_utils_request.py b/tests/test_utils_request.pyindex 5ee772c0b..8bc7922b6 100644--- a/tests/test_utils_request.py+++ b/tests/test_utils_request.py@@ -52,7 +52,7 @@ class UtilsRequestTest(unittest.TestCase):class FingerprintTest(unittest.TestCase):maxDiff = None- function = staticmethod(fingerprint)+ function: staticmethod = staticmethod(fingerprint)cache: Union["WeakKeyDictionary[Request, Dict[Tuple[Optional[Tuple[bytes, ...]], bool], bytes]]","WeakKeyDictionary[Request, Dict[Tuple[Optional[Tuple[bytes, ...]], bool], str]]",diff --git a/tox.ini b/tox.iniindex 4d1bb574d..2110e1020 100644--- a/tox.ini+++ b/tox.ini@@ -38,7 +38,7 @@ install_command =basepython = python3deps =lxml-stubs==0.2.0- mypy==0.910+ mypy==0.971types-pyOpenSSL==20.0.3types-setuptools==57.0.0commands =