Skip to content

Commit ca84e12

Browse files
authored
Flake8 update for files. (#208)
Update current files to pass flake8 check.
1 parent 77b84e7 commit ca84e12

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

example-project/example/pipelines.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# See: http://doc.scrapy.org/topics/item-pipeline.html
55
from datetime import datetime
66

7+
78
class ExamplePipeline(object):
89
def process_item(self, item, spider):
910
item["crawled"] = datetime.utcnow()

example-project/example/settings.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
DUPEFILTER_CLASS = "scrapy_redis.dupefilter.RFPDupeFilter"
1414
SCHEDULER = "scrapy_redis.scheduler.Scheduler"
1515
SCHEDULER_PERSIST = True
16-
#SCHEDULER_QUEUE_CLASS = "scrapy_redis.queue.SpiderPriorityQueue"
17-
#SCHEDULER_QUEUE_CLASS = "scrapy_redis.queue.SpiderQueue"
18-
#SCHEDULER_QUEUE_CLASS = "scrapy_redis.queue.SpiderStack"
16+
# SCHEDULER_QUEUE_CLASS = "scrapy_redis.queue.SpiderPriorityQueue"
17+
# SCHEDULER_QUEUE_CLASS = "scrapy_redis.queue.SpiderQueue"
18+
# SCHEDULER_QUEUE_CLASS = "scrapy_redis.queue.SpiderStack"
1919

2020
ITEM_PIPELINES = {
2121
'example.pipelines.ExamplePipeline': 300,

0 commit comments

Comments
 (0)