Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
SirMalamute committed Jul 1, 2024
1 parent 9aef9ff commit 2158717
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ def formula(person, period, parameters):
# Whether the person is eligible or not (income based)

net_income = max_(
0, p.upper_dependant_income_threshold - person("ab_dependant_net_income", period)
0,
p.upper_dependant_income_threshold
- person("ab_dependant_net_income", period),
)

cohabitating_dependant = person("cohabitating_dependant", period)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ def formula(person, period, parameters):
period
).gov.provinces.ab.tax.income.credits.credits_return

dependant_net_income = person("ab_dependant_net_income", period) * eligible_dependant

return (
dependant_net_income <= p.upper_dependant_income_threshold
dependant_net_income = (
person("ab_dependant_net_income", period) * eligible_dependant
)

return dependant_net_income <= p.upper_dependant_income_threshold

0 comments on commit 2158717

Please sign in to comment.