Fix/eliminate warnings #1097
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / Black
failed
Oct 12, 2023 in 0s
2 errors
Black found 2 errors
Annotations
github-actions / Black
/home/runner/work/oemof-solph/oemof-solph/examples/invest_nonconvex_flow_examples/diesel_genset_nonconvex_investment.py#L212-L223
nominal_storage_capacity=solph.Investment(
ep_costs=epc_battery * n_days / n_days_in_year
),
inputs={b_el_dc: solph.flows.Flow(variable_costs=0)},
outputs={
- b_el_dc: solph.flows.Flow(nominal_value=solph.Investment(ep_costs=0))
+ b_el_dc: solph.flows.Flow(
+ nominal_value=solph.Investment(ep_costs=0)
+ )
},
initial_storage_level=0.0,
min_storage_level=0.0,
max_storage_level=1.0,
balanced=True,
github-actions / Black
/home/runner/work/oemof-solph/oemof-solph/examples/offset_converter_example/offset_diesel_genset_nonconvex_investment.py#L223-L234
nominal_storage_capacity=solph.Investment(
ep_costs=epc_battery * n_days / n_days_in_year
),
inputs={b_el_dc: solph.flows.Flow(variable_costs=0)},
outputs={
- b_el_dc: solph.flows.Flow(nominal_value=solph.Investment(ep_costs=0))
+ b_el_dc: solph.flows.Flow(
+ nominal_value=solph.Investment(ep_costs=0)
+ )
},
initial_storage_level=0.0,
min_storage_level=0.0,
max_storage_level=1.0,
balanced=True,
Loading