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
|
|
@ -23,6 +23,7 @@ from .account_history import AccountHistory
|
|||
from .accounts_list import AccountsList
|
||||
from .login import LoginPage, UpdateInfoPage
|
||||
|
||||
|
||||
class AccountPrelevement(AccountsList):
|
||||
pass
|
||||
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ from weboob.tools.capabilities.bank.transactions import FrenchTransaction
|
|||
|
||||
__all__ = ['AccountHistory']
|
||||
|
||||
|
||||
class Transaction(FrenchTransaction):
|
||||
PATTERNS = [(re.compile(u'^CHQ\. (?P<text>.*)'), FrenchTransaction.TYPE_CHECK),
|
||||
(re.compile('^(ACHAT|PAIEMENT) CARTE (?P<dd>\d{2})(?P<mm>\d{2})(?P<yy>\d{2}) (?P<text>.*)'),
|
||||
|
|
@ -42,6 +43,7 @@ class Transaction(FrenchTransaction):
|
|||
(re.compile('^REM CHQ (?P<text>.*)'), FrenchTransaction.TYPE_DEPOSIT),
|
||||
]
|
||||
|
||||
|
||||
class AccountHistory(BasePage):
|
||||
|
||||
def on_loaded(self):
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ class VirtKeyboard(MappedVirtKeyboard):
|
|||
s += " "
|
||||
return hashlib.md5(s).hexdigest()
|
||||
|
||||
|
||||
class LoginPage(BasePage):
|
||||
def on_loaded(self):
|
||||
pass
|
||||
|
|
@ -98,6 +99,7 @@ class LoginPage(BasePage):
|
|||
|
||||
self.browser.location(form.attrib['action'], urllib.urlencode(args), no_login=True)
|
||||
|
||||
|
||||
class UpdateInfoPage(BasePage):
|
||||
def on_loaded(self):
|
||||
raise BrowserIncorrectPassword('Please update your user informations')
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
from weboob.tools.test import BackendTest
|
||||
|
||||
|
||||
class BoursoramaTest(BackendTest):
|
||||
BACKEND = 'boursorama'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue