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

This commit is contained in:
Andrey Rakhmatullin 2024-06-06 21:44:07 +05:00
parent feb0b8f7dc
commit 23b1214e90
1 changed files with 1 additions and 0 deletions

View File

@ -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