Skip to content

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

Add a comment about pyupgrade and scrapy/__init__.py.

Andrey Rakhmatullin23b1214e9019
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f76a04ca1..505b3c57d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -27,4 +27,5 @@ repos:
hooks:
- id: pyupgrade
args: [--py38-plus, --keep-runtime-typing]
+ # scrapy/__init__.py has a sys.version_info check we want to keep
exclude: scrapy/__init__.py