From d22b45ef0486dcd6129c7f45e5881fd3e77c6dfd Mon Sep 17 00:00:00 2001 From: Harshad Hegde Date: Fri, 8 Mar 2024 09:00:06 -0600 Subject: [PATCH 1/4] formatted --- .../semsimian/semsimian_implementation.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/oaklib/implementations/semsimian/semsimian_implementation.py b/src/oaklib/implementations/semsimian/semsimian_implementation.py index 9b17c8a01..5ac35a3da 100644 --- a/src/oaklib/implementations/semsimian/semsimian_implementation.py +++ b/src/oaklib/implementations/semsimian/semsimian_implementation.py @@ -4,9 +4,20 @@ import logging import math from dataclasses import dataclass, field -from typing import ClassVar, Dict, Iterable, Iterator, List, Optional, Tuple, Union +from typing import ( + TYPE_CHECKING, + ClassVar, + Dict, + Iterable, + Iterator, + List, + Optional, + Tuple, + Union, +) -from semsimian import Semsimian +if TYPE_CHECKING: + from semsimian import Semsimian from oaklib.datamodels.similarity import ( BestMatch, From 0c88875b7c28ed60c175bd3cb436f9ca170cc3cf Mon Sep 17 00:00:00 2001 From: Harshad Date: Fri, 8 Mar 2024 15:38:04 -0600 Subject: [PATCH 2/4] This change should don't exist here --- .../implementations/semsimian/semsimian_implementation.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/oaklib/implementations/semsimian/semsimian_implementation.py b/src/oaklib/implementations/semsimian/semsimian_implementation.py index 5ac35a3da..61572a1de 100644 --- a/src/oaklib/implementations/semsimian/semsimian_implementation.py +++ b/src/oaklib/implementations/semsimian/semsimian_implementation.py @@ -16,8 +16,7 @@ Union, ) -if TYPE_CHECKING: - from semsimian import Semsimian +from semsimian import Semsimian from oaklib.datamodels.similarity import ( BestMatch, From a22e0441fff66c31914cfcd5c0ee510202ded2dd Mon Sep 17 00:00:00 2001 From: Harshad Date: Fri, 8 Mar 2024 15:39:58 -0600 Subject: [PATCH 3/4] Update semsimian_implementation.py --- src/oaklib/implementations/semsimian/semsimian_implementation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/oaklib/implementations/semsimian/semsimian_implementation.py b/src/oaklib/implementations/semsimian/semsimian_implementation.py index 61572a1de..0bb4f2173 100644 --- a/src/oaklib/implementations/semsimian/semsimian_implementation.py +++ b/src/oaklib/implementations/semsimian/semsimian_implementation.py @@ -5,7 +5,6 @@ import math from dataclasses import dataclass, field from typing import ( - TYPE_CHECKING, ClassVar, Dict, Iterable, From cc28b30930c395afee500f61818f33720b180c66 Mon Sep 17 00:00:00 2001 From: Harshad Hegde Date: Fri, 8 Mar 2024 15:52:44 -0600 Subject: [PATCH 4/4] formatted --- .../semsimian/semsimian_implementation.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/oaklib/implementations/semsimian/semsimian_implementation.py b/src/oaklib/implementations/semsimian/semsimian_implementation.py index 0bb4f2173..9b17c8a01 100644 --- a/src/oaklib/implementations/semsimian/semsimian_implementation.py +++ b/src/oaklib/implementations/semsimian/semsimian_implementation.py @@ -4,16 +4,7 @@ import logging import math from dataclasses import dataclass, field -from typing import ( - ClassVar, - Dict, - Iterable, - Iterator, - List, - Optional, - Tuple, - Union, -) +from typing import ClassVar, Dict, Iterable, Iterator, List, Optional, Tuple, Union from semsimian import Semsimian