Skip to content

Commit

Permalink
Black formatted files
Browse files Browse the repository at this point in the history
  • Loading branch information
rickecon committed May 10, 2024
1 parent 2a41703 commit ebec600
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fiscalsim_us/tests/microsimulation/test_microsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
"""
In US nationwide simulations, use reported state income tax liabilities
"""


def use_reported_state_income_tax(parameters):
parameters.simulation.reported_state_income_tax.update(
start=instant("2024-01-01"), stop=instant("2100-12-31"),
value=True)
start=instant("2024-01-01"), stop=instant("2100-12-31"), value=True
)
return parameters


Expand All @@ -26,9 +28,7 @@ def test_microsim_runs_cps():
"household_income_decile", period=2024, map_to="person"
)
assert np.all(hidecile >= 1) and np.all(hidecile <= 10)
sidecile = sim.calc(
"spm_unit_income_decile", period=2024, map_to="person"
)
sidecile = sim.calc("spm_unit_income_decile", period=2024, map_to="person")
assert np.all(sidecile >= 1) and np.all(sidecile <= 10)
idecile = sim.calc("income_decile", period=2024, map_to="person")
assert np.all(idecile >= 1) and np.all(idecile <= 10)
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class mn_subtractions(Variable):
"""
Line 7 of form M1 (2023)
"""

value_type = float
entity = TaxUnit
label = "Minnesota subtractions from federal AGI"
Expand Down

0 comments on commit ebec600

Please sign in to comment.