math.hypot instead of numpy

This commit is contained in:
Cayo Puigdefabregas 2022-03-30 10:33:09 +02:00
parent 2c8d556396
commit 118726d207
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -43,6 +43,5 @@ tqdm==4.32.2
python-decouple==3.3 python-decouple==3.3
python-dotenv==0.14.0 python-dotenv==0.14.0
pyjwt==2.0.0a1 pyjwt==2.0.0a1
numpy==1.16.3
pint==0.9 pint==0.9
dmidecode==0.9.0 dmidecode==0.9.0