from enum import Enum class UnitPowerFormat(str, Enum): """The valid types of power unit formats.""" # noqa: E501 """# """ # noqa: E501 WATT = "watt" """# """ # noqa: E501 HORSEPOWER = "horsepower" """# """ # noqa: E501 MILLIWATT = "milliwatt" def __str__(self) -> str: return str(self.value)