From 64d7bf2014769683ea8c3bf4060f7e14426788e2 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:44:17 +0000 Subject: [PATCH 1/2] chore: adding changelog file 3552.fixed.md [dependabot-skip] --- doc/changelog.d/3552.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/3552.fixed.md diff --git a/doc/changelog.d/3552.fixed.md b/doc/changelog.d/3552.fixed.md new file mode 100644 index 0000000000..382312cd67 --- /dev/null +++ b/doc/changelog.d/3552.fixed.md @@ -0,0 +1 @@ +fix: warning and add an exception if using class alone \ No newline at end of file From e17b2a0c7a86fad1746c7f0dd34649d505f4411d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 11:44:25 +0000 Subject: [PATCH 2/2] ci: auto fixes from pre-commit.com hooks. for more information, see https://pre-commit.ci --- src/ansys/mapdl/core/mapdl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ansys/mapdl/core/mapdl.py b/src/ansys/mapdl/core/mapdl.py index c2cd77efb0..efb3ae9fa9 100644 --- a/src/ansys/mapdl/core/mapdl.py +++ b/src/ansys/mapdl/core/mapdl.py @@ -33,7 +33,7 @@ class MapdlBase(_MapdlExtended): """ def __init__(self, *args, **kwargs): - raise NotImplementedError( - "This class cannot be used by itself. Please import one of it subsclasses " - "like `ansys.mapdl.core.mapdl_grpc.MapdlGrpc`" - ) + raise NotImplementedError( + "This class cannot be used by itself. Please import one of it subsclasses " + "like `ansys.mapdl.core.mapdl_grpc.MapdlGrpc`" + )