Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
XZ-mabel committed Apr 4, 2024
1 parent 1a8b12c commit a7669cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ class al_retirement_exemption(Variable):
defined_for = StateCode.AL

adds = ["al_retirement_exemption_eligible_person"]


Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ class al_retirement_exemption_eligible_person(Variable):

def formula(person, period, parameters):
p = parameters(period).gov.states.al.tax.income.exemptions.retirement
age = person("age",period)
age = person("age", period)
pension_income = person("taxable_pension_income", period)
eligible_age = age>=p.age_threshold
eligible_age = age >= p.age_threshold
head_or_spouse = person("is_tax_unit_head_or_spouse", period)
return min_(pension_income*eligible_age*head_or_spouse, p.max_amount)
return min_(
pension_income * eligible_age * head_or_spouse, p.max_amount
)

0 comments on commit a7669cd

Please sign in to comment.