Skip to content

Commit

Permalink
ruff formatting again
Browse files Browse the repository at this point in the history
  • Loading branch information
jezsadler committed Dec 10, 2024
1 parent 735f4ca commit c1eb0e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/omlt/gbt/gbt_formulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def _build_formulation(self):
def pyomo_only(self):
return True

Check warning on line 67 in src/omlt/gbt/gbt_formulation.py

View check run for this annotation

Codecov / codecov/patch

src/omlt/gbt/gbt_formulation.py#L67

Added line #L67 was not covered by tests


def add_formulation_to_block(block, model_definition, input_vars, output_vars): # noqa: C901, PLR0912, PLR0915
r"""Adds the gradient-boosted trees formulation to the given Pyomo block.
Expand Down

0 comments on commit c1eb0e6

Please sign in to comment.