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:
Laurent Bachelier 2014-10-10 23:04:08 +02:00
commit 448c06d125
142 changed files with 249 additions and 25 deletions

View file

@ -39,6 +39,7 @@ class HomePage(Page):
return None
class LoginPage(Page):
def login(self, password):
assert password.isdigit()
@ -60,12 +61,15 @@ class LoginPage(Page):
def get_result_url(self):
return self.parser.tocleanstring(self.document.getroot())
class UselessPage(Page):
pass
class LoginErrorPage(Page):
pass
class _AccountsPage(Page):
COL_LABEL = 0
COL_ID = 2
@ -223,12 +227,15 @@ class CardsPage(Page):
yield t
class AccountsPage(_AccountsPage):
pass
class SavingsPage(_AccountsPage):
COL_ID = 1
class TransactionsPage(Page):
def get_next_url(self):
links = self.document.xpath('//span[@class="pager"]/a[@class="liennavigationcorpspage"]')