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.
This commit is contained in:
parent
174b5674c1
commit
3da02fde24
206 changed files with 0 additions and 575 deletions
|
|
@ -26,9 +26,6 @@ from weboob.tools.browser import BasePage, BrowserPasswordExpired
|
|||
from weboob.tools.json import json
|
||||
|
||||
|
||||
__all__ = ['AccountsList', 'AccountPrelevement']
|
||||
|
||||
|
||||
class AccountsList(BasePage):
|
||||
ACCOUNT_TYPES = {
|
||||
1: Account.TYPE_CHECKING,
|
||||
|
|
@ -87,6 +84,5 @@ class AccountsList(BasePage):
|
|||
return self.document.xpath('//a[@title="Messagerie"]')[0].attrib['href']
|
||||
|
||||
|
||||
|
||||
class AccountPrelevement(AccountsList):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -26,9 +26,6 @@ from weboob.tools.browser import BasePage, BrowserUnavailable
|
|||
from weboob.tools.captcha.virtkeyboard import VirtKeyboard, VirtKeyboardError
|
||||
|
||||
|
||||
__all__ = ['LoginPage', 'ConfirmPage', 'InfoMessagePage']
|
||||
|
||||
|
||||
class HelloBankVirtKeyboard(VirtKeyboard):
|
||||
symbols = {'0': '4d1e060efb694ee60e4bd062d800401c',
|
||||
'1': '509134b5c09980e282cdd5867815e9e3',
|
||||
|
|
|
|||
|
|
@ -28,8 +28,6 @@ from datetime import datetime
|
|||
|
||||
from lxml.html import make_links_absolute
|
||||
|
||||
__all__ = ['MessagesPage', 'MessagePage']
|
||||
|
||||
|
||||
class MessagesPage(BasePage):
|
||||
def iter_threads(self):
|
||||
|
|
|
|||
|
|
@ -25,9 +25,6 @@ from weboob.tools.browser import BasePage
|
|||
from weboob.tools.capabilities.bank.transactions import FrenchTransaction
|
||||
|
||||
|
||||
__all__ = ['AccountHistory', 'AccountComing']
|
||||
|
||||
|
||||
class Transaction(FrenchTransaction):
|
||||
PATTERNS = [(re.compile(u'^(?P<category>CHEQUE)(?P<text>.*)'), FrenchTransaction.TYPE_CHECK),
|
||||
(re.compile('^(?P<category>FACTURE CARTE) DU (?P<dd>\d{2})(?P<mm>\d{2})(?P<yy>\d{2}) (?P<text>.*?)( CA?R?T?E? ?\d*X*\d*)?$'),
|
||||
|
|
|
|||
|
|
@ -26,9 +26,6 @@ from weboob.tools.ordereddict import OrderedDict
|
|||
from weboob.capabilities.bank import TransferError
|
||||
|
||||
|
||||
__all__ = ['TransferPage', 'TransferConfirmPage', 'TransferCompletePage']
|
||||
|
||||
|
||||
class Account(object):
|
||||
def __init__(self, id, label, send_checkbox, receive_checkbox):
|
||||
self.id = id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue