File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ ignore = [
113113 " PLR0911" , # Too many return statements
114114 " PLR0913" , # Too many arguments in function definition
115115 " PLR0915" , # Too many statements
116- " PLR2004" , # Magic value used in comparison, consider replacing `0.2` with a constant variable
117116 " PTH" , # flake8-use-pathlib
118117 " PYI034" , # `__aenter__` methods in classes like `{name}` usually return `self` at runtime
119118 " PYI036" , # The second argument in `__aexit__` should be annotated with `object` or `BaseException | None`
@@ -153,6 +152,7 @@ indent-style = "space"
153152 " INP001" , # File {filename} is part of an implicit namespace package, add an __init__.py
154153 " F841" , # Local variable {variable} is assigned to but never used
155154 " TRY301" , # Abstract `raise` to an inner function
155+ " PLR2004" , # Magic value used in comparison, consider replacing `{value}` with a constant variable
156156 " PLW0603" , # Using the global statement to update `{name}` is discouraged
157157]
158158"**/docs/**/scrapy_project/**/__main__.py" = [
You can’t perform that action at this time.
0 commit comments