Skip to content

Commit

Permalink
Fix formatting with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
nonprofittechy committed Jan 17, 2024
1 parent a1e4903 commit 7c4f01f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docassemble/ALToolbox/al_income.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def total(self, times_per_year: float = 1) -> Decimal:
return Decimal(0)
else:
return super(ALAsset, self).total(times_per_year=times_per_year)

def equity(self, loan_attribute="balance") -> Decimal:
"""Returns the total equity in the asset (e.g., market value minus balance)"""
if getattr(self, loan_attribute, None) is None:
Expand Down Expand Up @@ -656,7 +656,7 @@ def balance(
):
result += _currency_float_to_decimal(asset.balance)
return result

def equity(
self,
source: Optional[SourceType] = None,
Expand Down

0 comments on commit 7c4f01f

Please sign in to comment.