from enum import Enum class UnitTemperatureFormat(str, Enum): """The valid types of temperature unit formats.""" # noqa: E501 """# """ # noqa: E501 KELVIN = "kelvin" """# """ # noqa: E501 CELSIUS = "celsius" """# """ # noqa: E501 FAHRENHEIT = "fahrenheit" """# """ # noqa: E501 REAUMUR = "reaumur" """# """ # noqa: E501 RANKINE = "rankine" def __str__(self) -> str: return str(self.value)