Skip to content

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

flake8-string-format

Andrey Rakhmatullina617e04d2eb8
diff --git a/.flake8 b/.flake8
index cf1a96476..b6048c9ee 100644
--- a/.flake8
+++ b/.flake8
@@ -1,8 +1,12 @@
[flake8]
max-line-length = 119
-ignore = E203, E501, E701, E704, W503
-
+ignore =
+ E203, E501, E701, E704, W503
+ # docstring does contain unindexed parameters
+ P102
+ # other string does contain unindexed parameters
+ P103
exclude =
docs/conf.py
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index eb3404b7f..47a3df53d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -10,6 +10,7 @@ repos:
- id: flake8
additional_dependencies:
- flake8-debugger
+ - flake8-string-format
- repo: https://github.com/psf/black.git
rev: 24.2.0
hooks: