Easy spacing fixes, trailing stuff
Remove useless trailing \ Remove trailing spaces Add missing empty lines autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 . Diff quickly checked.
This commit is contained in:
parent
c21d1f7925
commit
7094931c92
231 changed files with 474 additions and 67 deletions
|
|
@ -87,6 +87,7 @@ class AccountsList(BasePage):
|
|||
accounts.append(account)
|
||||
return iter(accounts)
|
||||
|
||||
|
||||
class CardsList(BasePage):
|
||||
def iter_cards(self):
|
||||
for tr in self.document.getiterator('tr'):
|
||||
|
|
@ -96,6 +97,7 @@ class CardsList(BasePage):
|
|||
|
||||
yield tr.xpath('.//a')[0].attrib['href']
|
||||
|
||||
|
||||
class Transaction(FrenchTransaction):
|
||||
PATTERNS = [(re.compile(r'^CARTE \w+ RETRAIT DAB.* (?P<dd>\d{2})/(?P<mm>\d{2})( (?P<HH>\d+)H(?P<MM>\d+))? (?P<text>.*)'),
|
||||
FrenchTransaction.TYPE_WITHDRAWAL),
|
||||
|
|
@ -123,6 +125,7 @@ class Transaction(FrenchTransaction):
|
|||
FrenchTransaction.TYPE_WITHDRAWAL),
|
||||
]
|
||||
|
||||
|
||||
class AccountHistory(BasePage):
|
||||
def get_part_url(self):
|
||||
for script in self.document.getiterator('script'):
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
from weboob.tools.test import BackendTest
|
||||
|
||||
|
||||
class SocieteGeneraleTest(BackendTest):
|
||||
BACKEND = 'societegenerale'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue