From 652b132a5b29fee32d83f1442dcf1c0a31af3380 Mon Sep 17 00:00:00 2001 From: FRICKO Oliver Date: Tue, 21 Dec 2021 08:55:44 +0100 Subject: [PATCH] Apply black formatting --- message_ix/models.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/message_ix/models.py b/message_ix/models.py index c9e935eaf..34c67d547 100644 --- a/message_ix/models.py +++ b/message_ix/models.py @@ -165,7 +165,7 @@ def item(ix_type, expr): ), "bound_emission_pool_lo": dict( ix_type="par", idx_sets=["node", "type_emission", "type_tec", "year"] - ), + ), "bound_extraction_up": item("par", "n c g y"), "bound_new_capacity_lo": item("par", "nl t yv"), "bound_new_capacity_up": item("par", "nl t yv"), @@ -433,9 +433,11 @@ def enforce(scenario): # handled in JDBCBackend. For the moment, this code does not backstop that # behaviour. # TODO Extend to handle all masks, e.g. for new backends. - for par_name in ("bound_emission_pool_up", - "bound_emission_pool_lo", - "emission_sink_rate"): + for par_name in ( + "bound_emission_pool_up", + "bound_emission_pool_lo", + "emission_sink_rate", + ): # Name of the corresponding set set_name = f"is_{par_name}"