Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fix a typing issue.

Andrey Rakhmatullinf803ad63f32b
diff --git a/scrapy/addons.py b/scrapy/addons.py
index cd0cfb7de..f1ddfd211 100644
--- a/scrapy/addons.py
+++ b/scrapy/addons.py
@@ -29,7 +29,7 @@ class AddonManager:
which to read the add-on configuration
:type settings: :class:`~scrapy.settings.Settings`
"""
- enabled = []
+ enabled: List[Any] = []
for clspath in build_component_list(settings["ADDONS"]):
try:
addoncls = load_object(clspath)