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
|
|
@ -30,9 +30,6 @@ from weboob.tools.captcha.virtkeyboard import MappedVirtKeyboard, VirtKeyboardEr
|
|||
from weboob.tools.misc import to_unicode
|
||||
|
||||
|
||||
__all__ = ['LoginPage', 'AccountsPage', 'UnknownPage']
|
||||
|
||||
|
||||
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,8 +26,6 @@ from weboob.capabilities.bank import Account
|
|||
from weboob.capabilities.base import NotAvailable
|
||||
from weboob.tools.browser import BasePage, BrokenPageError, BrowserPasswordExpired
|
||||
|
||||
__all__ = ['AccountsList', 'AccountPrelevement']
|
||||
|
||||
|
||||
class AccountsList(BasePage):
|
||||
ACCOUNT_TYPES = {
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@ import urllib
|
|||
from weboob.tools.browser import BasePage, BrowserUnavailable
|
||||
from weboob.tools.captcha.virtkeyboard import VirtKeyboard, VirtKeyboardError
|
||||
|
||||
__all__ = ['LoginPage', 'ConfirmPage', 'ChangePasswordPage']
|
||||
|
||||
|
||||
class BNPVirtKeyboard(VirtKeyboard):
|
||||
symbols={'0': '9cc4789a2cb223e8f2d5e676e90264b5',
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -24,9 +24,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*)?$'),
|
||||
|
|
|
|||
|
|
@ -25,9 +25,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
|
||||
|
|
|
|||
|
|
@ -29,9 +29,6 @@ from weboob.tools.browser import BasePage
|
|||
from .perso.transactions import Transaction
|
||||
|
||||
|
||||
__all__ = ['ProAccountsList', 'ProAccountHistory']
|
||||
|
||||
|
||||
class ProAccountsList(BasePage):
|
||||
COL_LABEL = 1
|
||||
COL_ID = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue