from enum import Enum class UnitEnergyFormat(str, Enum): """The valid types of energy unit formats.""" # noqa: E501 """# """ # noqa: E501 JOULE = "joule" """# """ # noqa: E501 CALORIE = "calorie" """# """ # noqa: E501 KILOWATT_HOUR = "kilowatt_hour" """# """ # noqa: E501 WATT_HOUR = "watt_hour" """# """ # noqa: E501 BRITISH_THERMAL_UNIT = "british_thermal_unit" """# """ # noqa: E501 BRITISH_THERMAL_UNIT_ISO = "british_thermal_unit_iso" """# """ # noqa: E501 BRITISH_THERMAL_UNIT59 = "british_thermal_unit59" """# """ # noqa: E501 THERM = "therm" """# """ # noqa: E501 FOOT_POUND = "foot_pound" def __str__(self) -> str: return str(self.value)