From 1964ec1c3d3addfcc51aca24dff972357dc3bb28 Mon Sep 17 00:00:00 2001 From: DaniAffCH Date: Mon, 25 Mar 2024 22:31:14 +0100 Subject: [PATCH] fix additional mypy issues --- nncf/common/graph/operator_metatypes.py | 2 +- nncf/common/graph/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nncf/common/graph/operator_metatypes.py b/nncf/common/graph/operator_metatypes.py index 571210e4ab1..27fc60213a4 100644 --- a/nncf/common/graph/operator_metatypes.py +++ b/nncf/common/graph/operator_metatypes.py @@ -9,7 +9,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from typing import List, Optional, Set, Type, Callable, Dict +from typing import Callable, Dict, List, Optional, Set, Type import nncf from nncf.common.graph.definitions import NNCFGraphNodeType diff --git a/nncf/common/graph/utils.py b/nncf/common/graph/utils.py index c4876bc1dcf..b21c3b013da 100644 --- a/nncf/common/graph/utils.py +++ b/nncf/common/graph/utils.py @@ -10,7 +10,7 @@ # limitations under the License. from functools import partial -from typing import List, Set, Tuple, Union +from typing import List, Set, Tuple, Type, Union from nncf.common.graph import NNCFGraph from nncf.common.graph import NNCFNode