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,12 +2,11 @@ from enum import Enum
class UnitTorque(str, Enum):
"""The valid types of torque units.""" # noqa: E501
""" The valid types of torque units. """ # noqa: E501
"""# Newton metres <https://en.wikipedia.org/wiki/Newton_metre> """ # noqa: E501
NEWTON_METRES = 'newton_metres'
"""# Pound foot <https://en.wikipedia.org/wiki/Pound-foot_(torque)> """ # noqa: E501
POUND_FOOT = 'pound_foot'
"""# Newton metres <https://en.wikipedia.org/wiki/Newton_metre> """ # noqa: E501
NEWTON_METRES = "newton_metres"
"""# Pound foot <https://en.wikipedia.org/wiki/Pound-foot_(torque)> """ # noqa: E501
POUND_FOOT = "pound_foot"
def __str__(self) -> str:
return str(self.value)
def __str__(self) -> str:
return str(self.value)