Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjello committed Oct 9, 2023
1 parent aa7d451 commit 79f6b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openfisca_survey_manager/scenarios/abstract_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def init_from_data(self, calibration_kwargs = None, inflation_kwargs = None,
# Inverting reform and baseline because we are more likely
# to use baseline input in reform than the other way around
self.simulations = dict()
for simulation_name, tax_benefit_system in self.tax_benefit_systems.items():
for simulation_name, _ in self.tax_benefit_systems.items():
self.new_simulation(simulation_name, debug = debug, data = data, trace = trace, memory_config = memory_config)
if use_marginal_tax_rate:
self.new_simulation(simulation_name, debug = debug, data = data, trace = trace, memory_config = memory_config, marginal_tax_rate_only = True)
Expand Down
2 changes: 1 addition & 1 deletion openfisca_survey_manager/tests/test_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_calibration_variable_entity_is_weight_entity():
parameters = {"method": "raking ratio"},
)

for simulation_name, simulation in survey_scenario.simulations.items():
for _, simulation in survey_scenario.simulations.items():
assert all(simulation.calibration.weight != simulation.calibration.initial_weight)

assert_near(survey_scenario.compute_aggregate("rent", period = period), target_rent_aggregate)
Expand Down

0 comments on commit 79f6b90

Please sign in to comment.