Skip to content

Commit

Permalink
ruff reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jezsadler committed Dec 10, 2024
1 parent 62172ed commit 2f14155
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/omlt/base/julia.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from __future__ import annotations

from typing import Any

from numpy import float32
2 changes: 1 addition & 1 deletion src/omlt/base/pyomo.py
Original file line number Diff line number Diff line change
@@ -312,7 +312,7 @@ class OmltExprScalarPyomo(OmltExpr, pyo.Expression):
def __init__(self, expr=None):
self._index_set = {}
if isinstance(expr, OmltExprScalarPyomo):
self._expression : pyo.Expression = expr._expression
self._expression: pyo.Expression = expr._expression
elif isinstance(expr, (pyo.Expression, pyo.NumericValue)):
self._expression = expr
elif isinstance(expr, tuple):

0 comments on commit 2f14155

Please sign in to comment.