fixing linting issue

This commit is contained in:
Mose Müller 2023-08-07 14:43:06 +02:00
parent 167636de00
commit 218d9f93c3

View File

@ -43,7 +43,8 @@ def convert_to_quantity(
<Quantity(10.0, 'volt')> <Quantity(10.0, 'volt')>
Notes: Notes:
- If unit is not provided and value is a float or int, the resulting Quantity will be unitless. - If unit is not provided and value is a float or int, the resulting Quantity
will be unitless.
""" """
if isinstance(value, int | float): if isinstance(value, int | float):