From 82f761ca328d26a4fa5534a047288b834393ef9a Mon Sep 17 00:00:00 2001 From: Feist Josselin Date: Wed, 15 Feb 2023 10:29:16 +0100 Subject: [PATCH] Remove unused import --- slither/core/solidity_types/function_type.py | 1 - slither/visitors/slithir/expression_to_slithir.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/slither/core/solidity_types/function_type.py b/slither/core/solidity_types/function_type.py index b73d9fa84..2d644148e 100644 --- a/slither/core/solidity_types/function_type.py +++ b/slither/core/solidity_types/function_type.py @@ -2,7 +2,6 @@ from typing import List, Tuple, Any from slither.core.solidity_types.type import Type from slither.core.variables.function_type_variable import FunctionTypeVariable -from slither.core.solidity_types.elementary_type import ElementaryType class FunctionType(Type): diff --git a/slither/visitors/slithir/expression_to_slithir.py b/slither/visitors/slithir/expression_to_slithir.py index 46f11b016..0a35d8e9f 100644 --- a/slither/visitors/slithir/expression_to_slithir.py +++ b/slither/visitors/slithir/expression_to_slithir.py @@ -1,5 +1,5 @@ import logging -from typing import Any, Union, List, TYPE_CHECKING, TypeVar, Generic +from typing import Any, Union, List, TYPE_CHECKING from slither.core.declarations import ( Function, @@ -29,7 +29,6 @@ from slither.core.expressions.tuple_expression import TupleExpression from slither.core.expressions.unary_operation import UnaryOperation from slither.core.solidity_types import ArrayType, ElementaryType, TypeAlias from slither.core.solidity_types.type import Type -from slither.core.source_mapping.source_mapping import SourceMapping from slither.core.variables.local_variable import LocalVariable from slither.core.variables.local_variable_init_from_tuple import LocalVariableInitFromTuple from slither.core.variables.state_variable import StateVariable