Skip to content

Commit

Permalink
squash:update^^
Browse files Browse the repository at this point in the history
  • Loading branch information
skycastlelily committed Oct 24, 2024
1 parent cc690dc commit b55fa95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmt/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class Operator(enum.Enum):

#: A type of constraint values.
ConstraintValue = Union[int, 'Size', str, bool]
ConstraintValueT = TypeVar('ConstraintValueT', int, 'Size', str, bool)
ConstraintValueT = TypeVar('ConstraintValueT', int, 'Size', str, bool, float)

# TODO: this was ported from Artemis but it's not used as of now. That should
# change with future support for flavors aka instance types.
Expand Down Expand Up @@ -738,7 +738,7 @@ def _cast_int(raw_value: Any) -> int:


class NumberConstraint(Constraint[float]):
""" A constraint representing a dimension-less float number """
""" A constraint representing a float number """

@classmethod
def from_specification(
Expand Down

0 comments on commit b55fa95

Please sign in to comment.