From a2b95b3b5cd39d6b3c0c5500c35a82ceea12a32e Mon Sep 17 00:00:00 2001 From: chrisjonesbsu Date: Wed, 8 May 2024 14:53:21 -0600 Subject: [PATCH] remove import * --- flowermd/__init__.py | 1 + flowermd/assets/__init__.py | 1 + flowermd/base/__init__.py | 1 + flowermd/internal/__init__.py | 1 + flowermd/library/__init__.py | 1 + flowermd/modules/surface_wetting/__init__.py | 1 + flowermd/modules/welding/__init__.py | 1 + flowermd/tests/__init__.py | 1 + flowermd/utils/__init__.py | 11 ++++++++++- 9 files changed, 18 insertions(+), 1 deletion(-) diff --git a/flowermd/__init__.py b/flowermd/__init__.py index e0995a2c..f8c66533 100644 --- a/flowermd/__init__.py +++ b/flowermd/__init__.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 """flowerMD package.""" from .base import ( diff --git a/flowermd/assets/__init__.py b/flowermd/assets/__init__.py index 7a63aa3f..dd30075b 100644 --- a/flowermd/assets/__init__.py +++ b/flowermd/assets/__init__.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 """Paths to the assets used by flowerMD.""" from .forcefields import FF_DIR diff --git a/flowermd/base/__init__.py b/flowermd/base/__init__.py index 4376da88..14c369e0 100644 --- a/flowermd/base/__init__.py +++ b/flowermd/base/__init__.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 """Base classes for flowerMD.""" from .forcefield import BaseHOOMDForcefield, BaseXMLForcefield diff --git a/flowermd/internal/__init__.py b/flowermd/internal/__init__.py index d449c3b3..a06e7713 100644 --- a/flowermd/internal/__init__.py +++ b/flowermd/internal/__init__.py @@ -1,2 +1,3 @@ +# ruff: noqa: F401 from .ff_utils import xml_to_gmso_ff from .utils import check_return_iterable, validate_ref_value diff --git a/flowermd/library/__init__.py b/flowermd/library/__init__.py index 64ea7c0d..d57a1bc2 100644 --- a/flowermd/library/__init__.py +++ b/flowermd/library/__init__.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 """Library of predefined molecules, recipes and forcefields.""" from .forcefields import ( diff --git a/flowermd/modules/surface_wetting/__init__.py b/flowermd/modules/surface_wetting/__init__.py index b5a838ef..2c194ea0 100644 --- a/flowermd/modules/surface_wetting/__init__.py +++ b/flowermd/modules/surface_wetting/__init__.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 """Surface wetting module for FlowerMD.""" from .surface_wetting import ( diff --git a/flowermd/modules/welding/__init__.py b/flowermd/modules/welding/__init__.py index d927c0a6..4768054a 100644 --- a/flowermd/modules/welding/__init__.py +++ b/flowermd/modules/welding/__init__.py @@ -1,3 +1,4 @@ +# ruff: noqa: F401 """Welding module for FlowerMD.""" from .utils import add_void_particles diff --git a/flowermd/tests/__init__.py b/flowermd/tests/__init__.py index 9eb4c5fb..2bb6e9cb 100644 --- a/flowermd/tests/__init__.py +++ b/flowermd/tests/__init__.py @@ -1 +1,2 @@ +# ruff: noqa: F401 from .base_test import BaseTest diff --git a/flowermd/utils/__init__.py b/flowermd/utils/__init__.py index f3e56cb6..5915613c 100644 --- a/flowermd/utils/__init__.py +++ b/flowermd/utils/__init__.py @@ -1,4 +1,13 @@ -from .actions import * +# ruff: noqa: F401 +"""Helpful utility functions for use with flowerMD.""" + +from .actions import ( + PullParticles, + ScaleEpsilon, + ScaleSigma, + StdOutLogger, + UpdateWalls, +) from .base_types import HOOMDThermostats from .rigid_body import create_rigid_body from .utils import (