From 2e425e84cae86f1500b04f55e5cbce30956ee4dd Mon Sep 17 00:00:00 2001 From: SirMalamute Date: Sat, 11 May 2024 20:41:40 +0000 Subject: [PATCH] formatting --- .../ab/tax/credits_return/ab_caregiver_amount.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/policyengine_canada/variables/gov/provinces/ab/tax/credits_return/ab_caregiver_amount.py b/policyengine_canada/variables/gov/provinces/ab/tax/credits_return/ab_caregiver_amount.py index a0fa78eba..8f32e1c75 100644 --- a/policyengine_canada/variables/gov/provinces/ab/tax/credits_return/ab_caregiver_amount.py +++ b/policyengine_canada/variables/gov/provinces/ab/tax/credits_return/ab_caregiver_amount.py @@ -29,14 +29,14 @@ def formula(person, period, parameters): dependant_net_income <= p.upper_dependant_income_threshold ) - net_income = max_(0, p.upper_dependant_income_threshold - dependant_net_income) + net_income = max_( + 0, p.upper_dependant_income_threshold - dependant_net_income + ) cohabitating_dependant = person("cohabitating_dependant", period) caregiver_amount = ( - net_income - * income_eligibility - * cohabitating_dependant + net_income * income_eligibility * cohabitating_dependant ) return min_(caregiver_amount, p.maximum_caregiver_amount)