Skip to content

Commit

Permalink
Fix line length for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
measrainsey committed Jan 13, 2025
1 parent 197cc35 commit c2223c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions message_ix_models/tools/costs/decay.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,10 @@ def get_technology_reduction_scenarios_data(
)

raise ValueError(

Check warning on line 367 in message_ix_models/tools/costs/decay.py

View check run for this annotation

Codecov / codecov/patch

message_ix_models/tools/costs/decay.py#L367

Added line #L367 was not covered by tests
f"The following technology + scenario + reduction rate combinations are missing data. Please check the reduction rate exists for the technology.\n\
{check_nan.print.unique().tolist()}."
"The following technology + scenario + reduction rate combinations "
"are missing data. "
"Please check that the reduction rate exists for the technology.\n"
f"{check_nan.print.unique().tolist()}."
)

# if reduction_rate is "none", then set cost_reduction to 0
Expand Down

0 comments on commit c2223c3

Please sign in to comment.