mirror of https://github.com/scrapy/scrapy.git
Fix or ignore flake8 problems.
This commit is contained in:
parent
3ba25ccbd3
commit
794cf71806
|
|
@ -116,6 +116,7 @@ flake8-ignore =
|
|||
scrapy/spiders/feed.py E501 E261
|
||||
scrapy/spiders/sitemap.py E501
|
||||
# scrapy/utils
|
||||
scrapy/utils/asyncio.py E501
|
||||
scrapy/utils/benchserver.py E501
|
||||
scrapy/utils/conf.py E402 E502 E501
|
||||
scrapy/utils/console.py E261 E306 E305
|
||||
|
|
@ -227,6 +228,7 @@ flake8-ignore =
|
|||
tests/test_spidermiddleware_output_chain.py E501 W293 E226
|
||||
tests/test_spidermiddleware_referer.py E501 F841 E125 E201 E261 E124 E501 E241 E121
|
||||
tests/test_squeues.py E501 E701 E741
|
||||
tests/test_utils_asyncio.py E501
|
||||
tests/test_utils_conf.py E501 E303 E128
|
||||
tests/test_utils_curl.py E501
|
||||
tests/test_utils_datatypes.py E402 E501 E305
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import pkg_resources
|
|||
import scrapy
|
||||
from scrapy.commands import ScrapyCommand
|
||||
from scrapy.exceptions import UsageError
|
||||
from scrapy.utils.asyncio import install_asyncio_reactor, is_asyncio_supported
|
||||
from scrapy.utils.asyncio import install_asyncio_reactor
|
||||
from scrapy.utils.misc import walk_modules
|
||||
from scrapy.utils.project import inside_project, get_project_settings
|
||||
from scrapy.utils.python import garbage_collect
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
#coding: utf-8
|
||||
|
||||
|
||||
def install_asyncio_reactor():
|
||||
""" Tries to install AsyncioSelectorReactor
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue