mirror of https://github.com/scrapy/scrapy.git
Fix PEP8 warnings in project template files
This commit is contained in:
parent
9acf2be475
commit
1d6cc257ea
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
import scrapy
|
||||
|
||||
|
||||
class ${ProjectName}Item(scrapy.Item):
|
||||
# define the fields for your item here like:
|
||||
# name = scrapy.Field()
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
|
||||
# See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html
|
||||
|
||||
|
||||
class ${ProjectName}Pipeline(object):
|
||||
def process_item(self, item, spider):
|
||||
return item
|
||||
|
|
|
|||
Loading…
Reference in New Issue