pep8 blank lines fixes
flake8 --select W391,E302,E301,E304 autopep8 can't fix W391 even though it claims it can. Fixed using a simple custom script.
This commit is contained in:
parent
be2c8bd789
commit
448c06d125
142 changed files with 249 additions and 25 deletions
|
|
@ -28,6 +28,7 @@ import string
|
|||
class ResultsPage(Page):
|
||||
""" Page which contains results as a list of recipies
|
||||
"""
|
||||
|
||||
def iter_recipes(self):
|
||||
for div in self.parser.select(self.document.getroot(), 'div.result-recipe'):
|
||||
thumbnail_url = NotAvailable
|
||||
|
|
@ -60,6 +61,7 @@ class ResultsPage(Page):
|
|||
class RecipePage(Page):
|
||||
""" Page which contains a recipe
|
||||
"""
|
||||
|
||||
def get_recipe(self, id):
|
||||
title = NotAvailable
|
||||
preparation_time = NotAvailable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue