File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
tests/e2e/test_scrapy/actor_source Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -173,12 +173,6 @@ indent-style = "space"
173173 # Local imports in Scrapy project.
174174 " TID252" , # Prefer absolute imports over relative imports from parent modules
175175]
176- "**/tests/**/test_scrapy/actor_source/__main__.py" = [
177- # Because of asyncioreactor.install() call.
178- " E402" , # Module level import not at top of file
179- # Local imports are mixed up with the Apify SDK.
180- " I001" , # Import block is un-sorted or un-formatted
181- ]
182176
183177[tool .ruff .lint .flake8-quotes ]
184178docstring-quotes = " double"
Original file line number Diff line number Diff line change 44
55install_reactor ('twisted.internet.asyncioreactor.AsyncioSelectorReactor' )
66
7- import os
7+ import os # noqa: E402, I001
88
9- from apify .scrapy import initialize_logging , run_scrapy_actor
9+ from apify .scrapy import initialize_logging , run_scrapy_actor # noqa: E402
1010
11- from .main import main
11+ from .main import main # noqa: E402
1212
1313os .environ ['SCRAPY_SETTINGS_MODULE' ] = 'src.settings'
1414
You can’t perform that action at this time.
0 commit comments