From 906e7d2f1fdbba09e787e3e0afd2c67b6702d858 Mon Sep 17 00:00:00 2001 From: PavelMakarchuk Date: Wed, 4 Dec 2024 16:04:03 -0500 Subject: [PATCH] format --- .../policy/baseline/gov/states/de/tax/income/integration.yaml | 2 +- .../policy/baseline/gov/states/id/tax/income/integration.yaml | 2 +- .../policy/baseline/gov/states/ky/tax/income/integration.yaml | 4 ++-- .../states/ms/tax/income/deductions/itemized/integration.yaml | 2 +- .../tax/income/deductions/va_reduced_itemized_deductions.yaml | 2 +- .../policy/baseline/gov/states/va/tax/income/integration.yaml | 2 +- ...e_mortgage_interest.py => deductible_mortgage_interest.py} | 4 ++-- .../variables/household/expense/person/interest_expense.py | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) rename policyengine_us/variables/household/expense/person/{deductable_mortgage_interest.py => deductible_mortgage_interest.py} (81%) diff --git a/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/integration.yaml index fddb2a60601..6e365931881 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/integration.yaml @@ -241,7 +241,7 @@ taxable_private_pension_income: 4000 social_security_retirement: 12000 real_estate_taxes: 2000 - deductable_mortgage_interest: 1000 + deductible_mortgage_interest: 1000 self_employment_income: 121010 business_is_qualified: true business_is_sstb: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml index ceed723a8e6..97939484794 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/id/tax/income/integration.yaml @@ -106,7 +106,7 @@ rental_income: 1005 taxable_private_pension_income: 2500 real_estate_taxes: 4000 - deductable_mortgage_interest: 36000 + deductible_mortgage_interest: 36000 self_employment_income: 127010 business_is_qualified: true business_is_sstb: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/integration.yaml index 6df25b37e32..02bf191062e 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ky/tax/income/integration.yaml @@ -275,11 +275,11 @@ person1: age: 50 employment_income: 80_000 - deductable_mortgage_interest: 3_000 + deductible_mortgage_interest: 3_000 person2: age: 50 employment_income: 20_000 - deductable_mortgage_interest: 3_000 + deductible_mortgage_interest: 3_000 tax_units: tax_unit: members: [person1, person2] diff --git a/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/deductions/itemized/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/deductions/itemized/integration.yaml index 5fe61538151..1793250a106 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/deductions/itemized/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ms/tax/income/deductions/itemized/integration.yaml @@ -3,7 +3,7 @@ period: 2021 input: real_estate_taxes: 12_000 - deductable_mortgage_interest: 36_000 + deductible_mortgage_interest: 36_000 state_fips: 28 # MS output: # expected results from filling out 2021 MS form 80-108 ms_itemized_deductions_unit: 46_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml index ff21e7daf3e..80257f26b5c 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/deductions/va_reduced_itemized_deductions.yaml @@ -36,7 +36,7 @@ filing_status: JOINT adjusted_gross_income: 364_695 state_and_local_sales_or_income_tax: 19_956 - deductable_mortgage_interest: 36_000 + deductible_mortgage_interest: 36_000 state_code: VA output: va_reduced_itemized_deductions: 35_282 diff --git a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml index 0e738ca4688..9ffd6bc9db0 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/va/tax/income/integration.yaml @@ -91,7 +91,7 @@ long_term_capital_gains: 1005.0 rental_income: 2505.0 real_estate_taxes: 24000 - deductable_mortgage_interest: 14000 + deductible_mortgage_interest: 14000 self_employment_income: 141010 business_is_qualified: true business_is_sstb: false diff --git a/policyengine_us/variables/household/expense/person/deductable_mortgage_interest.py b/policyengine_us/variables/household/expense/person/deductible_mortgage_interest.py similarity index 81% rename from policyengine_us/variables/household/expense/person/deductable_mortgage_interest.py rename to policyengine_us/variables/household/expense/person/deductible_mortgage_interest.py index 6a602e04ea9..0c0aa4d5720 100644 --- a/policyengine_us/variables/household/expense/person/deductable_mortgage_interest.py +++ b/policyengine_us/variables/household/expense/person/deductible_mortgage_interest.py @@ -1,10 +1,10 @@ from policyengine_us.model_api import * -class deductable_mortgage_interest(Variable): +class deductible_mortgage_interest(Variable): value_type = float entity = Person - label = "Deductable mortgage interest" + label = "Deductible mortgage interest" documentation = "Under the interest deduction, the US caps the mortgage value to which interest is applied which based on the year of purchase not tax year." unit = USD definition_period = YEAR diff --git a/policyengine_us/variables/household/expense/person/interest_expense.py b/policyengine_us/variables/household/expense/person/interest_expense.py index 54c174c96fd..05707a3b55b 100644 --- a/policyengine_us/variables/household/expense/person/interest_expense.py +++ b/policyengine_us/variables/household/expense/person/interest_expense.py @@ -8,4 +8,4 @@ class interest_expense(Variable): unit = USD definition_period = YEAR - adds = ["deductable_mortgage_interest", "non_mortgage_interest"] + adds = ["deductible_mortgage_interest", "non_mortgage_interest"]