Skip to content

Commit

Permalink
Fix import; apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Feb 16, 2024
1 parent f43a49e commit db5fdf0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions pyomo/core/expr/numvalue.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
check_if_numeric_type,
value,
)
from pyomo.core.pyomoobject import PyomoObject

relocated_module_attribute(
'native_boolean_types',
Expand Down
5 changes: 1 addition & 4 deletions pyomo/core/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@

from pyomo.common.deprecation import deprecation_warning
from pyomo.core.expr.numvalue import native_numeric_types
from pyomo.core.expr.numeric_expr import (
mutable_expression,
NPV_SumExpression,
)
from pyomo.core.expr.numeric_expr import mutable_expression, NPV_SumExpression
from pyomo.core.base.var import Var
from pyomo.core.base.expression import Expression
from pyomo.core.base.component import _ComponentBase
Expand Down
1 change: 1 addition & 0 deletions pyomo/opt/results/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

from pyomo.common.collections import Bunch


class ScalarType(str, enum.Enum):
int = 'int'
time = 'time'
Expand Down

0 comments on commit db5fdf0

Please sign in to comment.