use numpy instead of math

This commit is contained in:
Cayo Puigdefabregas 2022-03-30 10:52:09 +02:00
parent cc2385cddf
commit 4881aac5c9
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,6 @@ import re
from contextlib import suppress
from datetime import datetime
from fractions import Fraction
from math import hypot
from typing import Iterator, List, Optional, Type, TypeVar
import dateutil.parser
@ -13,6 +12,7 @@ from ereuse_utils.nested_lookup import (
get_nested_dicts_with_key_containing_value,
get_nested_dicts_with_key_value,
)
from numpy import hypot
from ereuse_devicehub.parser import base2, unit, utils
from ereuse_devicehub.parser.utils import Dumpeable

View File

@ -45,3 +45,4 @@ python-dotenv==0.14.0
pyjwt==2.0.0a1
pint==0.9
py-dmidecode==0.1.0
numpy==1.16.3