diff --git a/src/accounting/utils.py b/src/accounting/utils.py index d32aa7d..19610ad 100644 --- a/src/accounting/utils.py +++ b/src/accounting/utils.py @@ -80,10 +80,9 @@ class ReportUrl: Args: namespace: The namespace of the current application. - cash: The currently-specified account of the - cash account or cash summary. - ledger: The currently-specified account of the - ledger or leger summary. + cash: The currently-specified account of the cash account or cash + summary. + ledger: The currently-specified account of the ledger or leger summary. period: The currently-specified period. """ @@ -145,9 +144,8 @@ class DataFiller: """Adds accounts. Args: - accounts (tuple[tuple[any]]): Tuples of - (code, English, Traditional Chinese, Simplified Chinese) - of the accounts. + accounts: Tuples of (code, English, Traditional Chinese, Simplified + Chinese) of the accounts. """ for data in accounts: code = data[0] @@ -167,8 +165,7 @@ class DataFiller: """Adds a transfer transaction. Args: - date: The date, or the number of days from - today. + date: The date, or the number of days from today. debit: Tuples of (account, summary, amount) of the debit records. credit: Tuples of (account, summary, amount) of the credit records. """ diff --git a/src/mia_core/utils.py b/src/mia_core/utils.py index aae649a..9c3bae0 100644 --- a/src/mia_core/utils.py +++ b/src/mia_core/utils.py @@ -429,8 +429,7 @@ class Pagination: url (str): The link URL, or for a non-link slot. title (str): The title of the link. is_active (bool): Whether this link is currently active. - is_small_screen (bool): Whether this link is for small - screens + is_small_screen (bool): Whether this link is for small screens. """ def __int__(self): self.url = None