diff --git a/loki/transformations/__init__.py b/loki/transformations/__init__.py index aa8f2c93a..514f47af2 100644 --- a/loki/transformations/__init__.py +++ b/loki/transformations/__init__.py @@ -7,7 +7,6 @@ from loki.transformations.array_indexing import * # noqa from loki.transformations.build_system import * # noqa -from loki.transformations.derived_types import * # noqa from loki.transformations.argument_shape import * # noqa from loki.transformations.data_offload import * # noqa from loki.transformations.drhook import * # noqa @@ -19,6 +18,7 @@ from loki.transformations.sanitise import * # noqa from loki.transformations.single_column import * # noqa from loki.transformations.transpile import * # noqa +from loki.transformations.transform_derived_types import * # noqa from loki.transformations.transform_loop import * # noqa from loki.transformations.transform_region import * # noqa from loki.transformations.pool_allocator import * # noqa diff --git a/loki/transformations/build_system/tests/test_transform_dependency.py b/loki/transformations/build_system/tests/test_dependency.py similarity index 100% rename from loki/transformations/build_system/tests/test_transform_dependency.py rename to loki/transformations/build_system/tests/test_dependency.py diff --git a/loki/transformations/tests/test_transform_derived_types.py b/loki/transformations/tests/test_transform_derived_types.py index 2cfba93ec..168884053 100644 --- a/loki/transformations/tests/test_transform_derived_types.py +++ b/loki/transformations/tests/test_transform_derived_types.py @@ -18,7 +18,7 @@ from loki.frontend import available_frontends, OMNI, OFP from loki.ir import FindNodes, CallStatement -from loki.transformations.derived_types import ( +from loki.transformations.transform_derived_types import ( DerivedTypeArgumentsTransformation, TypeboundProcedureCallTransformation ) diff --git a/loki/transformations/derived_types.py b/loki/transformations/transform_derived_types.py similarity index 100% rename from loki/transformations/derived_types.py rename to loki/transformations/transform_derived_types.py diff --git a/scripts/loki_transform.py b/scripts/loki_transform.py index 09940117e..7ac07721c 100644 --- a/scripts/loki_transform.py +++ b/scripts/loki_transform.py @@ -32,7 +32,7 @@ from loki.transformations.data_offload import ( DataOffloadTransformation, GlobalVariableAnalysis, GlobalVarOffloadTransformation ) -from loki.transformations.derived_types import DerivedTypeArgumentsTransformation +from loki.transformations.transform_derived_types import DerivedTypeArgumentsTransformation from loki.transformations.drhook import DrHookTransformation from loki.transformations.hoist_variables import HoistTemporaryArraysAnalysis from loki.transformations.inline import InlineTransformation