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
|
|
@ -56,6 +56,7 @@ class AccountsPage(Page):
|
|||
|
||||
yield a
|
||||
|
||||
|
||||
class TransactionsPage(Page):
|
||||
COL_ID = 0
|
||||
COL_DATE = 1
|
||||
|
|
@ -81,6 +82,7 @@ class TransactionsPage(Page):
|
|||
return datetime.date(int(m.group(3)),
|
||||
self.MONTHS.index(m.group(2).rstrip('.')) + 1,
|
||||
int(m.group(1)))
|
||||
|
||||
def get_beginning_debit_date(self):
|
||||
for option in self.document.xpath('//select[@id="viewPeriod"]/option'):
|
||||
if 'selected' in option.attrib:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue