Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2023-09-29 16:05:40 -07:00
parent 31cd9e532d
commit 12c164620b
268 changed files with 22464 additions and 18287 deletions

View File

@ -2,16 +2,15 @@ from enum import Enum
class UnitTemperature(str, Enum):
"""The valid types of temperature units.""" # noqa: E501
""" The valid types of temperature units. """ # noqa: E501
"""# Celsius <https://en.wikipedia.org/wiki/Celsius> """ # noqa: E501
CELSIUS = 'celsius'
"""# Fahrenheit <https://en.wikipedia.org/wiki/Fahrenheit> """ # noqa: E501
FAHRENHEIT = 'fahrenheit'
"""# Kelvin <https://en.wikipedia.org/wiki/Kelvin> """ # noqa: E501
KELVIN = 'kelvin'
"""# Rankine <https://en.wikipedia.org/wiki/Rankine_scale> """ # noqa: E501
RANKINE = 'rankine'
"""# Celsius <https://en.wikipedia.org/wiki/Celsius> """ # noqa: E501
CELSIUS = "celsius"
"""# Fahrenheit <https://en.wikipedia.org/wiki/Fahrenheit> """ # noqa: E501
FAHRENHEIT = "fahrenheit"
"""# Kelvin <https://en.wikipedia.org/wiki/Kelvin> """ # noqa: E501
KELVIN = "kelvin"
"""# Rankine <https://en.wikipedia.org/wiki/Rankine_scale> """ # noqa: E501
RANKINE = "rankine"
def __str__(self) -> str:
return str(self.value)
def __str__(self) -> str:
return str(self.value)