Commit graph

23 commits

Author SHA1 Message Date
Laurent Bachelier
448c06d125 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.
2014-10-10 23:41:44 +02:00
Laurent Bachelier
e783f2c821 Remove tuple method parameters
They can be found through autopep8 (W690) or python-modernize.
Variables manually renamed.

This is because Python 3 does not support tuple unpacking:
http://legacy.python.org/dev/peps/pep-3113/
2014-10-10 23:41:44 +02:00
Romain Bignon
d61e15cf84 rename things related to browsers
weboob.tools.browser -> weboob.deprecated.browser
weboob.tools.parsers -> weboob.deprecated.browser.parsers
weboob.tools.mech -> weboob.deprecated.mech
weboob.browser2 -> weboob.browser
weboob.core.exceptions -> weboob.exceptions

Also, the new tree for browser2 is:

weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.*
weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser)
weboob.browser.url: the URL class
weboob.browser.profiles: all Profile classes
weboob.browser.sessions: WeboobSession and FuturesSession
weboob.browser.cookies: that's a cookies thing
weboob.browser.pages: all Page and derivated classes, and Form class
weboob.browser.exceptions: specific browser exceptions
weboob.browser.elements: AbstractElement classes, and 'method' decorator
weboob.browser.filters.*: all filters
2014-10-07 00:30:07 +02:00
Florent
0088013ae1 Rename BaseBrowser to Browser 2014-09-26 10:18:12 +02:00
Florent
444d36eee8 Rename BasePage to Page 2014-09-26 10:18:12 +02:00
Laurent Bachelier
3da02fde24 Remove useless __all__ in modules
They bring nothing of value (we never use import * anyway) and introduce
a maintenance burden.

The __all__ that I left might not be very useful either but at least
they are not a pain to maintain; they are also used by pyflakes in some
cases.
2014-09-09 19:00:02 +02:00
Romain Bignon
519fa1757f hostname has changed 2014-04-14 09:00:11 +02:00
Romain Bignon
7592dcb4ea certificate of bnp enterprise has changed 2013-09-22 16:09:54 +02:00
Romain Bignon
09444f5f43 add transaction patterns 2013-09-06 14:20:11 +02:00
Romain Bignon
f9dc0d7cbd fix crash 2013-08-02 12:38:35 +02:00
Romain Bignon
eb55f72d22 bnpent: support pagination 2013-08-01 16:53:03 +02:00
Romain Bignon
26ebea7875 bpent: support coming transactions 2013-07-30 18:52:40 +02:00
Laurent Bachelier
5cbebe0117 Use new vdate in modules instead of _val 2013-07-30 10:58:22 +02:00
Romain Bignon
b0498473fb bnppe: do not crash with securities accounts 2013-07-28 16:01:41 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Laurent Bachelier
715b7bcd62 bnporc[ent]: Get all days in history 2013-07-24 18:26:58 +02:00
Laurent Bachelier
9760ca6e23 bnporc[ent]: Get history
Only the last day for now
2013-07-24 18:26:58 +02:00
Laurent Bachelier
caa84dbf2c bnporc[ent]: Ignore "not available" accounts 2013-07-24 18:26:57 +02:00
Laurent Bachelier
c038ebb024 bnporc: Really fix form encoding warning 2013-07-23 22:31:34 +02:00
Laurent Bachelier
8dca8951b6 bnporc[ent]: Fix unknown page warning
We ignore the "/NSFR" page because it's easier to switch to another page
right away.
2013-07-23 22:26:55 +02:00
Laurent Bachelier
f8bf995cfd bnporc[ent]: Account list 2013-07-23 20:25:51 +02:00
Laurent Bachelier
0e08ceab6e bnporc[ent]: Handle the virtual keyboard
Login works!
2013-07-23 20:25:51 +02:00
Laurent Bachelier
6594ec2288 bnporc: introduce Enterprise option
Not working for now
2013-07-23 20:25:51 +02:00